POST api/transportCompany
Save or update a transport company
Request Information
URI Parameters
None.
Body Parameters
Transport company to save
TransportCompanyName | Description | Type | Additional information |
---|---|---|---|
Identifier | Collection of byte |
None. |
|
IdentifierGuid | globally unique identifier |
None. |
|
CompanyName | string |
None. |
|
ABN | string |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
Telephone | string |
None. |
|
PrimaryContactGuid | Collection of byte |
None. |
|
PrimaryContactID | globally unique identifier |
None. |
|
PrimaryContact | Contact |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{ "identifier": "N61mSPpSpU2U3Esa782NqA==", "identifierGuid": "4866ad37-52fa-4da5-94dc-4b1aefcd8da8", "companyName": "sample string 1", "abn": "sample string 2", "address1": "sample string 3", "address2": "sample string 4", "telephone": "sample string 5", "primaryContactGuid": "Vt8TpeyyAk+q5D0JHeqGNg==", "primaryContactID": "a513df56-b2ec-4f02-aae4-3d091dea8636", "primaryContact": { "$id": "2", "id": "f529a806-c020-4061-bb0d-797147a2115f", "identifier": "rK0H5IGJb0KF7Oi9WtX0BQ==", "identifierGuid": "e407adac-8981-426f-85ec-e8bd5ad5f405", "familyName": "sample string 1", "givenNames": "sample string 2", "otherNames": "sample string 3", "title": "sample string 4", "dateOfBirth": "sample string 5", "sex": "sample string 6", "address": "sample string 7", "address1": "sample string 8", "address2": "sample string 9", "town": "sample string 10", "state": "sample string 11", "country": "sample string 12", "postalCode": "sample string 13", "telephone": "sample string 14", "mobile": "sample string 15", "email": "sample string 16", "fax": "sample string 17", "primary": true } }
application/xml, text/xml
Sample:
<TransportCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager"> <ABN>sample string 2</ABN> <Address1>sample string 3</Address1> <Address2>sample string 4</Address2> <CompanyName>sample string 1</CompanyName> <Identifier>N61mSPpSpU2U3Esa782NqA==</Identifier> <IdentifierGuid>4866ad37-52fa-4da5-94dc-4b1aefcd8da8</IdentifierGuid> <PrimaryContact xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Accounts"> <d2p1:Address>sample string 7</d2p1:Address> <d2p1:Address1>sample string 8</d2p1:Address1> <d2p1:Address2>sample string 9</d2p1:Address2> <d2p1:Country>sample string 12</d2p1:Country> <d2p1:DateOfBirth>sample string 5</d2p1:DateOfBirth> <d2p1:Email>sample string 16</d2p1:Email> <d2p1:FamilyName>sample string 1</d2p1:FamilyName> <d2p1:Fax>sample string 17</d2p1:Fax> <d2p1:GivenNames>sample string 2</d2p1:GivenNames> <d2p1:ID>f529a806-c020-4061-bb0d-797147a2115f</d2p1:ID> <d2p1:Identifier>rK0H5IGJb0KF7Oi9WtX0BQ==</d2p1:Identifier> <d2p1:IdentifierGuid>e407adac-8981-426f-85ec-e8bd5ad5f405</d2p1:IdentifierGuid> <d2p1:Mobile>sample string 15</d2p1:Mobile> <d2p1:OtherNames>sample string 3</d2p1:OtherNames> <d2p1:PostalCode>sample string 13</d2p1:PostalCode> <d2p1:Primary>true</d2p1:Primary> <d2p1:Sex>sample string 6</d2p1:Sex> <d2p1:State>sample string 11</d2p1:State> <d2p1:Telephone>sample string 14</d2p1:Telephone> <d2p1:Title>sample string 4</d2p1:Title> <d2p1:Town>sample string 10</d2p1:Town> </PrimaryContact> <PrimaryContactGuid>Vt8TpeyyAk+q5D0JHeqGNg==</PrimaryContactGuid> <PrimaryContactID>a513df56-b2ec-4f02-aae4-3d091dea8636</PrimaryContactID> <Telephone>sample string 5</Telephone> </TransportCompany>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Identifier of saved company
globally unique identifierResponse Formats
application/json, text/json
Sample:
"39cdae10-ae6c-47d8-ac16-69254c4db8b6"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">39cdae10-ae6c-47d8-ac16-69254c4db8b6</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK U E[��uy� 5 xl/workbook.xml � (� ����0D�&�C��h@� '.^=x_a��m��|o�vfg�N>��D=��A�����dB��C�@uصd� �KP��+�� ��(:�xI�u�8���a9c�!z5,(R�r�c,��=$�n��X�N&KH����]̊iPX� <p6;���G�l&�p���%Ml�&�!E��7X.���PK U E[���� � [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 U E[�+#�' ' _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="R8c36a580d7d94b13" /></Relationships>PK U E[W� d$ � xl/worksheets/sheet1.xml � (� �Q�n� ��}���ZUI�IU�ݦ�3K��pN��m����-?��l���l��o7�3p-v�]k>Q�p০Z�߂ �.}�5�x"�� ��Z��*��� �{���ɂ#QH�(<��T�f|e�W=�.[��Je�q��:ٓ{桯�Ӗ3�T�n` �b���D��䥫��X�|�ʯ�uЫi�7\��\5� ����!�Y��ƙU��.�#]��a�����{�/��)ڏ���+K�<+RM�qa>�#y��8!��!�;7�s�'¿��:. ���g���k� PK U E[���i� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞؉����tö��=N�&vd��=�����ĂMW��==i���c�9�{#�Gk:�3���j4}ǠجW;�0� ?��gq����'νhF�مL�h�f1u=_P�'^��]ʀ[&�_��j=J�Zy�Ʉ?��d��D�]O�����אg� �Yu�+��n���P�Ć���p���z}�LU�\�,�n�x_�����S����D�Z�F�E����o�b�PK U E[Ѓ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 U E[zŮ � xl/sharedStrings.xml � (� 5�An� E��fO�S�:&�J9A{ ���g\5�/Yt�������[���J�R�)�}�Ϗ�A�Ja��<�A]�cզ��"�1g,�uEj�W�J�����aH<#JY̱�)!�Xw���S������ {'��S���m��ku����|< qH��f��̳o�+�PK- U E[��uy� 5 xl/workbook.xmlPK- U E[���� � � [Content_Types].xmlPK- U E[�+#�' ' U _rels/.relsPK- U E[W� d$ � � xl/worksheets/sheet1.xmlPK- U E[���i� P 7 xl/_rels/workbook.xml.relsPK- U E[Ѓc'2 E { xl/styles.xmlPK- U E[zŮ � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK U E[q�Ρ� 5 xl/workbook.xml � (� ����0��&�C���#N\�z��6П�5��$���~;�d��4f 5j_���lɘ������7NA�ҽ��{ɱ5��P�%I����^H��J���C�@j\Q ����@H57{H��"��՝M���MUl�XѠ��-�dqn]MSJ\)�p��i��!?���Н��*��n�PK U E[���� � [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 U E[����' ' _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="R912c220fbc7c4adb" /></Relationships>PK U E[W� d$ � xl/worksheets/sheet1.xml � (� �Q�n� ��}���ZUI�IU�ݦ�3K��pN��m����-?��l���l��o7�3p-v�]k>Q�p০Z�߂ �.}�5�x"�� ��Z��*��� �{���ɂ#QH�(<��T�f|e�W=�.[��Je�q��:ٓ{桯�Ӗ3�T�n` �b���D��䥫��X�|�ʯ�uЫi�7\��\5� ����!�Y��ƙU��.�#]��a�����{�/��)ڏ���+K�<+RM�qa>�#y��8!��!�;7�s�'¿��:. ���g���k� PK U E[ 1Lf� P xl/_rels/workbook.xml.rels � (� ��Mn� F�����Uq��&�4��`[���6g�G��R�%R�d��xz����c�}�'rF�Gk:ʳ�4Ҫ��=����f�� B��q�$>1��C�#c^8���&v�u3�X��- ��#+�b.e�[&9\��j=J|��4� �٫uG? J�z��<�<�TJv���Vp]� V�h�8>���� ���w��m.����uÅZ5w���z.n:uJ�D�l�5�.�B�W5v�/6_PK U E[Ѓ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 U E[zŮ � xl/sharedStrings.xml � (� 5�An� E��fO�S�:&�J9A{ ���g\5�/Yt�������[���J�R�)�}�Ϗ�A�Ja��<�A]�cզ��"�1g,�uEj�W�J�����aH<#JY̱�)!�Xw���S������ {'��S���m��ku����|< qH��f��̳o�+�PK- U E[q�Ρ� 5 xl/workbook.xmlPK- U E[���� � � [Content_Types].xmlPK- U E[����' ' U _rels/.relsPK- U E[W� d$ � � xl/worksheets/sheet1.xmlPK- U E[ 1Lf� P 7 xl/_rels/workbook.xml.relsPK- U E[Ѓc'2 E ~ xl/styles.xmlPK- U E[zŮ � � xl/sharedStrings.xmlPK � �