POST api/transportCompany/{id}/contact
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
TransportCompanyContact| Name | Description | Type | Additional information |
|---|---|---|---|
| TransportCompanyGuid | Collection of byte |
None. |
|
| TransportCompanyIdentifierGuid | globally unique identifier |
None. |
|
| ContactGuid | Collection of byte |
None. |
|
| ContactID | globally unique identifier |
None. |
|
| Contact | Contact |
Relation. This field may not always be loaded or used for updates. |
|
| TransportCompany | TransportCompany |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{
"transportCompanyGuid": "9FWs0e0f6kalXPUbw7HTwA==",
"transportCompanyIdentifierGuid": "d1ac55f4-1fed-46ea-a55c-f51bc3b1d3c0",
"contactGuid": "wtMzXUy/uEK9hxDd9eAdBQ==",
"contactID": "5d33d3c2-bf4c-42b8-bd87-10ddf5e01d05",
"contact": {
"$id": "2",
"id": "6737e57d-f8c3-4e9c-ace8-2b3a70c109dc",
"identifier": "9nkPgr+xqEelpEyWwKRzXQ==",
"identifierGuid": "820f79f6-b1bf-47a8-a5a4-4c96c0a4735d",
"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
},
"transportCompany": {
"$id": "3",
"identifier": "VtJ4lj5KXkSIWyWEEvYxgg==",
"identifierGuid": "9678d256-4a3e-445e-885b-258412f63182",
"companyName": "sample string 1",
"abn": "sample string 2",
"address1": "sample string 3",
"address2": "sample string 4",
"telephone": "sample string 5",
"primaryContactGuid": "plmTifYE/UemUOviBJVT9Q==",
"primaryContactID": "899359a6-04f6-47fd-a650-ebe2049553f5",
"primaryContact": {
"$ref": "2"
}
}
}
application/xml, text/xml
Sample:
<TransportCompanyContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.TransportCompanies">
<Contact 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>6737e57d-f8c3-4e9c-ace8-2b3a70c109dc</d2p1:ID>
<d2p1:Identifier>9nkPgr+xqEelpEyWwKRzXQ==</d2p1:Identifier>
<d2p1:IdentifierGuid>820f79f6-b1bf-47a8-a5a4-4c96c0a4735d</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>
</Contact>
<ContactGuid>wtMzXUy/uEK9hxDd9eAdBQ==</ContactGuid>
<ContactID>5d33d3c2-bf4c-42b8-bd87-10ddf5e01d05</ContactID>
<TransportCompany xmlns:d2p1="http://gapsolutions.com.au/schema/ezimanager">
<d2p1:ABN>sample string 2</d2p1:ABN>
<d2p1:Address1>sample string 3</d2p1:Address1>
<d2p1:Address2>sample string 4</d2p1:Address2>
<d2p1:CompanyName>sample string 1</d2p1:CompanyName>
<d2p1:Identifier>VtJ4lj5KXkSIWyWEEvYxgg==</d2p1:Identifier>
<d2p1:IdentifierGuid>9678d256-4a3e-445e-885b-258412f63182</d2p1:IdentifierGuid>
<d2p1:PrimaryContact xmlns:d3p1="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Accounts">
<d3p1:Address>sample string 7</d3p1:Address>
<d3p1:Address1>sample string 8</d3p1:Address1>
<d3p1:Address2>sample string 9</d3p1:Address2>
<d3p1:Country>sample string 12</d3p1:Country>
<d3p1:DateOfBirth>sample string 5</d3p1:DateOfBirth>
<d3p1:Email>sample string 16</d3p1:Email>
<d3p1:FamilyName>sample string 1</d3p1:FamilyName>
<d3p1:Fax>sample string 17</d3p1:Fax>
<d3p1:GivenNames>sample string 2</d3p1:GivenNames>
<d3p1:ID>6737e57d-f8c3-4e9c-ace8-2b3a70c109dc</d3p1:ID>
<d3p1:Identifier>9nkPgr+xqEelpEyWwKRzXQ==</d3p1:Identifier>
<d3p1:IdentifierGuid>820f79f6-b1bf-47a8-a5a4-4c96c0a4735d</d3p1:IdentifierGuid>
<d3p1:Mobile>sample string 15</d3p1:Mobile>
<d3p1:OtherNames>sample string 3</d3p1:OtherNames>
<d3p1:PostalCode>sample string 13</d3p1:PostalCode>
<d3p1:Primary>true</d3p1:Primary>
<d3p1:Sex>sample string 6</d3p1:Sex>
<d3p1:State>sample string 11</d3p1:State>
<d3p1:Telephone>sample string 14</d3p1:Telephone>
<d3p1:Title>sample string 4</d3p1:Title>
<d3p1:Town>sample string 10</d3p1:Town>
</d2p1:PrimaryContact>
<d2p1:PrimaryContactGuid>plmTifYE/UemUOviBJVT9Q==</d2p1:PrimaryContactGuid>
<d2p1:PrimaryContactID>899359a6-04f6-47fd-a650-ebe2049553f5</d2p1:PrimaryContactID>
<d2p1:Telephone>sample string 5</d2p1:Telephone>
</TransportCompany>
<TransportCompanyGuid>9FWs0e0f6kalXPUbw7HTwA==</TransportCompanyGuid>
<TransportCompanyIdentifierGuid>d1ac55f4-1fed-46ea-a55c-f51bc3b1d3c0</TransportCompanyIdentifierGuid>
</TransportCompanyContact>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"4c69c5f4-8af5-4498-80a1-d52a73c6e943"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4c69c5f4-8af5-4498-80a1-d52a73c6e943</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK �2�\�2[� 5 xl/workbook.xml � (� ����0��&�C���QR8q����[i�-ik��-H�yۙ��v�dl_ӓ���mA;�ǜ1�t���̈:성
|��Ō���4o�ڳ$�.�� ^�:9:���a��"��C�jXQ
����@��=%Nn�����&ak�����/E4(,h(Y�{[И��0<bL�4�n���\�tg�0ζ��PK �2�\���� � [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
�2�\��' ' _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="R53990501345e410b" /></Relationships>PK �2�\�g&& � xl/worksheets/sheet1.xml � (� �QMo� �+���4m�%�&U�v�v��,q
j���?@�i�.; ���)Owݳ �Sd*Xe904
��\+}���S]�doN"z��m���ȹk$j�2ЄZGVR{��u��35�F�y���b/|�rR
��p���h��/TZ(u٪��3�]O+`�.�]��~�,��It��K[A������_-k�c��h~Fu�>lh�z�]��Vqo����wV���w�fwد�bsخ
`��<鏥���M�</����l*��y\r�]�w��O�7� ����˰%�"�6)��\�PK �2�\?�?� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�IC>�i7l�-��c����m�n�gc���V���X��j4��'�|���o�L���dtyƀ�FNz���C��z�3q��$�h���}�ԋ�3cQǎ2n�!�n���#��Uԥ�e�����F�I��u�L_�;�1 9p7`����5�Y����9��f����M��M͇ˌ���;Od���%+�2��^�w��C�\�tꔖ�Y[3Q�&���U�����PK �2�\Ѓ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 �2�\�5� � xl/sharedStrings.xml � (� 5�An�0E�by�$�Bd�E���=���Sf����]t�������ʫ�ƝS�Q�O�VH�L�����x7�V,@��p�?�Z݃gU�ģ^D�������!�d.{��?-o;�����^���i�AR�Z��|�s��%��
����an�sCo��fj/�v���o����
�PK- �2�\�2[� 5 xl/workbook.xmlPK- �2�\���� � [Content_Types].xmlPK-
�2�\��' ' V _rels/.relsPK- �2�\�g&& � � xl/worksheets/sheet1.xmlPK- �2�\?�?� P : xl/_rels/workbook.xml.relsPK- �2�\Ѓc'2 E
� xl/styles.xmlPK- �2�\�5� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �2�\�ٚ�� 5 xl/workbook.xml � (� ���� ��M��(H������C�k!�� �}�"F��zۙ��v�������>z6��-�1���0H�<\��v����$���iR�vxk0�0J+�a�QY�ro�X�y�c� Q�Jsepw>!Ԭ�
��e2�����"��&Î����Z���1��mlq���U�ђQq-DE˒>��!���PK �2�\���� � [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
�2�\=�' ' _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="Re9271abf2e6c4c77" /></Relationships>PK �2�\�g&& � xl/worksheets/sheet1.xml � (� �QMo� �+���4m�%�&U�v�v��,q
j���?@�i�.; ���)Owݳ �Sd*Xe904
��\+}���S]�doN"z��m���ȹk$j�2ЄZGVR{��u��35�F�y���b/|�rR
��p���h��/TZ(u٪��3�]O+`�.�]��~�,��It��K[A������_-k�c��h~Fu�>lh�z�]��Vqo����wV���w�fwد�bsخ
`��<鏥���M�</����l*��y\r�]�w��O�7� ����˰%�"�6)��\�PK �2�\�b� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;�c"�
�n)���$"�#۴�l]�H�B-*�A�V��==i���c�{�B!���P9�M����>�a��h��'b�O��k�R�9���c�'r�c}1�4�|B}�b�Ü�Lv�L����״��<�K�����%`G-�~J�_CYd*�'Sá�BI�,�f%����M-��@���;��,*��F�jaKeq}W�����N��L�زBiH���!����~PK �2�\Ѓ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 �2�\�5� � xl/sharedStrings.xml � (� 5�An�0E�by�$�Bd�E���=���Sf����]t�������ʫ�ƝS�Q�O�VH�L�����x7�V,@��p�?�Z݃gU�ģ^D�������!�d.{��?-o;�����^���i�AR�Z��|�s��%��
����an�sCo��fj/�v���o����
�PK- �2�\�ٚ�� 5 xl/workbook.xmlPK- �2�\���� � � [Content_Types].xmlPK-
�2�\=�' ' U _rels/.relsPK- �2�\�g&& � � xl/worksheets/sheet1.xmlPK- �2�\�b� P 9 xl/_rels/workbook.xml.relsPK- �2�\Ѓc'2 E
xl/styles.xmlPK- �2�\�5� � � xl/sharedStrings.xmlPK � �