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": "i4Cuv8y3vUusUDuq/jbOeg==", "identifierGuid": "bfae808b-b7cc-4bbd-ac50-3baafe36ce7a", "companyName": "sample string 1", "abn": "sample string 2", "address1": "sample string 3", "address2": "sample string 4", "telephone": "sample string 5", "primaryContactGuid": "boBdXEPIfk+YLaBJuZfZuA==", "primaryContactID": "5c5d806e-c843-4f7e-982d-a049b997d9b8", "primaryContact": { "$id": "2", "id": "700ee6d3-0750-455e-a50f-a742ea580e6b", "identifier": "9tgqsvoeIUKKnSyzfrYulg==", "identifierGuid": "b22ad8f6-1efa-4221-8a9d-2cb37eb62e96", "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>i4Cuv8y3vUusUDuq/jbOeg==</Identifier> <IdentifierGuid>bfae808b-b7cc-4bbd-ac50-3baafe36ce7a</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>700ee6d3-0750-455e-a50f-a742ea580e6b</d2p1:ID> <d2p1:Identifier>9tgqsvoeIUKKnSyzfrYulg==</d2p1:Identifier> <d2p1:IdentifierGuid>b22ad8f6-1efa-4221-8a9d-2cb37eb62e96</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>boBdXEPIfk+YLaBJuZfZuA==</PrimaryContactGuid> <PrimaryContactID>5c5d806e-c843-4f7e-982d-a049b997d9b8</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:
"6e127d8e-7379-46b9-8b03-41f31cc58d93"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6e127d8e-7379-46b9-8b03-41f31cc58d93</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK �[����� 5 xl/workbook.xml � (� ����0��&�C�pE��x��})�m�-ik���'�x�3;���u]mm�>�7>s�!��4���L��:�a���m��ʊ�&�r>��Ǡ��R ���X~p���DA�+J�2�<��fOE�_�dlug����T����E1�� ^a@���<��ejDɭ�5IS��$�;{���.�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 �[���' ' _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="Rb524f9e186d04cde" /></Relationships>PK �[��*�% � xl/worksheets/sheet1.xml � (� �QMk�0�+���iK?V��A)�m찝�D�Mc+HNӟ?�ac���%��ޓ\�7 ��+�\R�o���R�1t{y�� �� ��|�J���R�p�8�����S�(�:�� �сjU[E�������.t�-�~�r�zY����ɽ �*���B�eF�[��W,���ה���,2V����+�:=�� �g��6�����-�M{���{~'�S��~����n��<.�R4#tsu6�f�,y�A�%�$(�#y��8��Fm����T��O�۟�M\�1 e����� PK �[�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞��ǍP�n�a[z{2N�&vd�@�Ƃ#q�"A*�`��h~OO��|���ަ����� �l�,�v�]�hj�m7UL���Ҋ �1Ώ��iR!s3��1�O*��w|VxR�|���/p�d��L�!:c����D6��ΟBO���(6�S �D�����D�Z�.*)U)���Z���¯�w��(e^W�$J,�]ez�}�>]z�,/ԴA��&!�)��~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 �[��� � xl/sharedStrings.xml � (� 5�Kn�0D�"p�ȎSYY� �(�(פ���U]>����w^�� �ОPH��D�>�����S�k!����YfQuJ<�"�]��`�|*RMe�^*�O�ێ>�(y5��M��@�r�T-���灯�\�Yq=��!���n���Oz�7����� �e�Sg�8k����r�PK- �[����� 5 xl/workbook.xmlPK- �[���� � � [Content_Types].xmlPK- �[���' ' U _rels/.relsPK- �[��*�% � � xl/worksheets/sheet1.xmlPK- �[�� P 8 xl/_rels/workbook.xml.relsPK- �[Ѓc'2 E ~ xl/styles.xmlPK- �[��� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �[��� 5 xl/workbook.xml � (� ����0��&�C��()��x���" �'m >��o�vfg�6k;>��GNʕ���$ĵH�Nڀ �^[�}��Etߋݾ%(ORJsba�^h�a^i�����;7 x9�(Ʌ���[�=�.�`lu�5D~S,������*�p�1�έ�p��-E�풢H�����iJ���a�l��/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 �[_�B(' ' _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="Rbad8c4a99b3f45a9" /></Relationships>PK �[��*�% � xl/worksheets/sheet1.xml � (� �QMk�0�+���iK?V��A)�m찝�D�Mc+HNӟ?�ac���%��ޓ\�7 ��+�\R�o���R�1t{y�� �� ��|�J���R�p�8�����S�(�:�� �сjU[E�������.t�-�~�r�zY����ɽ �*���B�eF�[��W,���ה���,2V����+�:=�� �g��6�����-�M{���{~'�S��~����n��<.�R4#tsu6�f�,y�A�%�$(�#y��8��Fm����T��O�۟�M\�1 e����� PK �[P���� P xl/_rels/workbook.xml.rels � (� ��Mn� F������qH'�n�Ms�)l+6X@��l]�H�BQ*�Dꢛ��|Oo4|���o�H����lCE�)A�];خ��h�n�{!���@���8?2t����hS�8?AL����2�y�|Π�Lr����3f����iB� �W珡G���w�v=D����چ�Kފ�R�j���4>��Z��ï�w�ɘ�,T�~1�J�����c�}�t�Ǚ���@�1�\%5yUc7�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 �[��� � xl/sharedStrings.xml � (� 5�Kn�0D�"p�ȎSYY� �(�(פ���U]>����w^�� �ОPH��D�>�����S�k!����YfQuJ<�"�]��`�|*RMe�^*�O�ێ>�(y5��M��@�r�T-���灯�\�Yq=��!���n���Oz�7����� �e�Sg�8k����r�PK- �[��� 5 xl/workbook.xmlPK- �[���� � [Content_Types].xmlPK- �[_�B(' ' V _rels/.relsPK- �[��*�% � � xl/worksheets/sheet1.xmlPK- �[P���� P 9 xl/_rels/workbook.xml.relsPK- �[Ѓc'2 E � xl/styles.xmlPK- �[��� � � xl/sharedStrings.xmlPK � �