POST api/transportCompany
Save or update a transport company
Request Information
URI Parameters
None.
Body Parameters
Transport company to save
TransportCompany| Name | 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": "fPH0zizR70KjGcLvcZT7HQ==",
"identifierGuid": "cef4f17c-d12c-42ef-a319-c2ef7194fb1d",
"companyName": "sample string 1",
"abn": "sample string 2",
"address1": "sample string 3",
"address2": "sample string 4",
"telephone": "sample string 5",
"primaryContactGuid": "uzxQD28sHEiNrzsfrmrJxQ==",
"primaryContactID": "0f503cbb-2c6f-481c-8daf-3b1fae6ac9c5",
"primaryContact": {
"$id": "2",
"id": "426a765a-1f93-4491-b017-cd9dd9cf9ae3",
"identifier": "FIR2N7vneEapFL/ibUXtpA==",
"identifierGuid": "37768414-e7bb-4678-a914-bfe26d45eda4",
"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>fPH0zizR70KjGcLvcZT7HQ==</Identifier>
<IdentifierGuid>cef4f17c-d12c-42ef-a319-c2ef7194fb1d</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>426a765a-1f93-4491-b017-cd9dd9cf9ae3</d2p1:ID>
<d2p1:Identifier>FIR2N7vneEapFL/ibUXtpA==</d2p1:Identifier>
<d2p1:IdentifierGuid>37768414-e7bb-4678-a914-bfe26d45eda4</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>uzxQD28sHEiNrzsfrmrJxQ==</PrimaryContactGuid>
<PrimaryContactID>0f503cbb-2c6f-481c-8daf-3b1fae6ac9c5</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:
"555c7e27-0e59-446b-a62d-8d08a47190a9"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">555c7e27-0e59-446b-a62d-8d08a47190a9</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ��\Z��� 5 xl/workbook.xml � (� ����0��&�C��`��x��}-[i�?ik��-%�x�3;��Գq�Ә�|Ԥ}�:�`+�<P�?�:�q
B��Ō�cg�[��es8A�F�AZOW�?,oB�Ġ��@j���K����'���b���o�N��")�AaC;@Irn}CsJ\%�p�yq-K����tgﰚm��/PK ��\���� � [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
��\�WU5' ' _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="Re159ac7569084c68" /></Relationships>PK ��\�?؊% � xl/worksheets/sheet1.xml � (� �Q�N�0��(w�vЭLm'�i�� �кK�&���瓤!q�Ė��{v���l�5ښ盌3�-v�^j>QW�cS-�^p���h<�[F�
�`C�Gg$��]��n��d���f�N8$)������.?:�]�`���HmySu:�G��A_�3�T ��a�b��D��䥫y������_렗�@o�<��(
*RO��O73:�3#o�]tG����f��we���v�Y;yB�W�b�I�'I��.̥r`�Q��'�A܇y�&��{� �o�k�
[wF$pI���/PK ��\H~�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞� ���n7lؖ^������.г��H\�H�J,�t5��ӓf>�?�۷id/��<�ȢӃ�$���{��f��Q�4�a,�� ��q^q��I���dS�8?��R��Y�Qu�!j��f��y���1ң��D6���CO���(J�)~ y������]�uӶH5)S&0~3��#�_��|!�UՔT�j�D7��'�}���iY^�UX���(�C��E�_���PK ��\Ѓ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 ��\@�D� � xl/sharedStrings.xml � (� 5�Kn� D��z��X�F�YD�$ �3F2��n��ۇ,�|�*�r�I'�
�p�XPHK��3�����%P[!����;fQuJ<�*���ˊ9��H5�,GR�x��WDɛi��M�@-�$�ZP'��_��
�w⻮[lm��t��:�M�c�ch��d��xg�����PK- ��\Z��� 5 xl/workbook.xmlPK- ��\���� � � [Content_Types].xmlPK-
��\�WU5' ' T _rels/.relsPK- ��\�?؊% � � xl/worksheets/sheet1.xmlPK- ��\H~�� P 7 xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
| xl/styles.xmlPK- ��\@�D� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ��\�eN� 5 xl/workbook.xml � (� ����0��&�C�����N\�z�^�"
�'m
>��o�vfg�:k;>��GN�U�ƃ��"��$s'm@�]��d>H�"���V��I�$%�01/�r�0��X�X`� ��V�dB��x@�.�fe0�����"�)a�ETH1 5n�gE���8��V"���k���]�e����(�~7_PK ��\���� � [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
��\ǛsJ' ' _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="R76bb918deca0486a" /></Relationships>PK ��\�?؊% � xl/worksheets/sheet1.xml � (� �Q�N�0��(w�vЭLm'�i�� �кK�&���瓤!q�Ė��{v���l�5ښ盌3�-v�^j>QW�cS-�^p���h<�[F�
�`C�Gg$��]��n��d���f�N8$)������.?:�]�`���HmySu:�G��A_�3�T ��a�b��D��䥫y������_렗�@o�<��(
*RO��O73:�3#o�]tG����f��we���v�Y;yB�W�b�I�'I��.̥r`�Q��'�A܇y�&��{� �o�k�
[wF$pI���/PK ��\a�H�� P xl/_rels/workbook.xml.rels � (� ��An� E����`C���&�n�\���X�I��u�#�
E��:R�d��<������M#�@���-.�X��`��S����f��Q�|#��G����b��_��I��y��ӹ0ɔ��/�I�@*J s�g�������;�������p� at�����(��Q��ѳn�+^/�j�Ԃq����aj1]G��^��LfQ�u�i�k�{����K
y�s�y<S+�#B��.Y}S#w�b�PK ��\Ѓ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 ��\@�D� � xl/sharedStrings.xml � (� 5�Kn� D��z��X�F�YD�$ �3F2��n��ۇ,�|�*�r�I'�
�p�XPHK��3�����%P[!����;fQuJ<�*���ˊ9��H5�,GR�x��WDɛi��M�@-�$�ZP'��_��
�w⻮[lm��t��:�M�c�ch��d��xg�����PK- ��\�eN� 5 xl/workbook.xmlPK- ��\���� � [Content_Types].xmlPK-
��\ǛsJ' ' V _rels/.relsPK- ��\�?؊% � � xl/worksheets/sheet1.xmlPK- ��\a�H�� P 9 xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
� xl/styles.xmlPK- ��\@�D� � � xl/sharedStrings.xmlPK � �