POST api/thirdpartyapi
Creates a Third Party API record
Request Information
URI Parameters
None.
Body Parameters
API details to save
ThirdPartyAPIName | 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 0�D[Z9.� 5 xl/workbook.xml � (� ����0D�J���� ��B��ҵCwN� JR��/�ԭ��|~�b6vh��G��嶄��)�ܵ=)t3�^v�X�~��ō��ڴoE��$���҈^�z99�h���d ;�y5n(�RCu>1V�͞�f�b�uW��-�SE�A1��J��#��ܻb`6����$���,Mb��(��}� ����PK 0�D[���� � [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 0�D[cEZ' ' _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="R1303c7da3fd74474" /></Relationships>PK 0�D[��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 0�D[h[�� P xl/_rels/workbook.xml.rels � (� ��=n� ����^c��!QH�.]�\����b�6g��#� E���C�L�O���|�Xo�扼`�������wj���S�w���'��F4��$?�Q�Iɯ(���Y��y�y�]�e�e���QHۺ~��d�5����CtZ�=>��4�M���h��&?�H/��2ȓ��m��;�6�qd@���b:O���BF�/Z]syPˆ��2FT�)�.��v���ҼS��J2�5zu�/PK 0�D[Ѓ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 0�D[�/�� � 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- 0�D[Z9.� 5 xl/workbook.xmlPK- 0�D[���� � � [Content_Types].xmlPK- 0�D[cEZ' ' T _rels/.relsPK- 0�D[��4 � � xl/worksheets/sheet1.xmlPK- 0�D[h[�� P , xl/_rels/workbook.xml.relsPK- 0�D[Ѓc'2 E p xl/styles.xmlPK- 0�D[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK 0�D[GG�S� 5 xl/workbook.xml � (� ����0��&�C��`�D��x��}�[�H[ҭ�Ǘ�@������S�>�Z�_�c{GE���q(��N�:�ݴS>X��O�26�{[tQ��${��;�f ���a�$i�h�e�8^��s����9[��db ��T����E1+�@��&+�r 3 w�2���T�%���wX)���PK 0�D[���� � [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 0�D[��m' ' _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="R9373cacfa0e04b1d" /></Relationships>PK 0�D[��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 0�D[7�T�� P xl/_rels/workbook.xml.rels � (� ��An� E����ؖm�*N6�t��c���9[=R�P�J-���&�џ��7������m]��0[3Ъ()A#���4�sT�.Ӊ�gH�b�@u� 4� �Ф��~�����q� Y]��9��2����?D��,po�yE� �W�OA#FJ��'��iv-U���<Ɂ�mQ�*�Ʀi}v7�/�_���`�69�HqW �s��s����� M;�b�y�� �j��_l� PK 0�D[Ѓ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 0�D[�/�� � 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- 0�D[GG�S� 5 xl/workbook.xmlPK- 0�D[���� � � [Content_Types].xmlPK- 0�D[��m' ' U _rels/.relsPK- 0�D[��4 � � xl/worksheets/sheet1.xmlPK- 0�D[7�T�� P - xl/_rels/workbook.xml.relsPK- 0�D[Ѓc'2 E r xl/styles.xmlPK- 0�D[�/�� � � xl/sharedStrings.xmlPK � �