POST api/thirdpartyapi
Creates a Third Party API record
Request Information
URI Parameters
None.
Body Parameters
API details to save
ThirdPartyAPI| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Description | string |
None. |
|
| Address | string |
None. |
|
| Username | string |
None. |
|
| Password |
Used to store the password or the API subscription key |
string |
None. |
| PasswordPlain | string |
None. |
|
| Token | string |
None. |
|
| APIType | ThirdPartyApiType |
None. |
|
| APISubType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"description": "sample string 2",
"address": "sample string 3",
"username": "sample string 4",
"password": "sample string 5",
"passwordPlain": "sample string 6",
"token": "sample string 7",
"apiType": 8,
"apiSubType": 9
}
application/xml, text/xml
Sample:
<ThirdPartyAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.ThirdPartyAPIs"> <APISubType>9</APISubType> <APIType>8</APIType> <Address>sample string 3</Address> <Description>sample string 2</Description> <ID>1</ID> <Password>sample string 5</Password> <PasswordPlain>sample string 6</PasswordPlain> <Token>sample string 7</Token> <Username>sample string 4</Username> </ThirdPartyAPI>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK d3�\T�d� 5 xl/workbook.xml � (� ���� D�M��(J�i�z��k�S\
Q� ���"F��zۙ�};�l��v@=_�����%h�Ovw�:�B��E��Cg�[� �fYI�,(k�T��+�����K�����2�=��f�O2[��Dd
��T�`�ER�0
�X`%��78��U*w*����ev���;{��d��~PK d3�\���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
d3�\�Q��' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R97be3385141b4e8b" /></Relationships>PK d3�\��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@
82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO
71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK d3�\��U�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8�OU�6lK/�8�8jb[��l,8W�*�6]����������m��:?� KR ��&=28���~�=��C��j������R/.�'Ƣ�i��CL�H-'>"�Ӵ�ǹ[&9^,��h��>q^P�?��ո�W�ȑ�����א%�
�i`p�e� �ۺN�2�r �nj>\f�^��J&�jle�6
�K>w�Q���\���i]^�ɾo{슂��,��Fo�b�PK d3�\Ѓc'2 E
xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK d3�\�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- d3�\T�d� 5 xl/workbook.xmlPK- d3�\���� � [Content_Types].xmlPK-
d3�\�Q��' ' V _rels/.relsPK- d3�\��4 � � xl/worksheets/sheet1.xmlPK- d3�\��U�� P . xl/_rels/workbook.xml.relsPK- d3�\Ѓc'2 E
t xl/styles.xmlPK- d3�\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK d3�\J�}�� 5 xl/workbook.xml � (� ����0��&�C������x��4Жtk��-%�x�3;�픓u���'=,\E;�ǂ1�h�;� ��:�}���l�* ��o
Ƴ,IN�����;5"]h��pt���x=,(͕��~GH97{(�0�`�ug��%�~Se�mQ�5T��S�۳�)%�Pa��"�%��T�"����J����PK d3�\���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
d3�\a@��' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R4f7640ab3a2b437e" /></Relationships>PK d3�\��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@
82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO
71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK d3�\��r� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;��B��&�40f(`#�i��u�#�
�R�%R�d5��ӓf>�?6��i$���`M
<a@�(�����S ��怣q����I\1��>�yM�W=N�'vF;ںI�����R�d�T0��nɀ{&9^g��j=(|��<� ��ź����t�~J��O"Ⱦ��
kD�*�U�d}������w��Q\�R��<�d^<T��ۗ�⥗N��BMV6��4y���M�����PK d3�\Ѓc'2 E
xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK d3�\�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- d3�\J�}�� 5 xl/workbook.xmlPK- d3�\���� � [Content_Types].xmlPK-
d3�\a@��' ' V _rels/.relsPK- d3�\��4 � � xl/worksheets/sheet1.xmlPK- d3�\��r� P . xl/_rels/workbook.xml.relsPK- d3�\Ѓc'2 E
u xl/styles.xmlPK- d3�\�/�� � � xl/sharedStrings.xmlPK � �