POST api/transportCompany/{id}/contact

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

TransportCompanyContact
NameDescriptionTypeAdditional 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": "JP/6g1UanUS+VZKIyRIvWA==",
  "transportCompanyIdentifierGuid": "83faff24-1a55-449d-be55-9288c9122f58",
  "contactGuid": "v3VAdeZ6JU+4AH5MKQMvGA==",
  "contactID": "754075bf-7ae6-4f25-b800-7e4c29032f18",
  "contact": {
    "$id": "2",
    "id": "05b9b4f3-4c21-4f8f-900b-7455c8c96915",
    "identifier": "iO3M5kg2nkqxt477bbhSrQ==",
    "identifierGuid": "e6cced88-3648-4a9e-b1b7-8efb6db852ad",
    "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": "QToQ6mig406AurId99jaVQ==",
    "identifierGuid": "ea103a41-a068-4ee3-80ba-b21df7d8da55",
    "companyName": "sample string 1",
    "abn": "sample string 2",
    "address1": "sample string 3",
    "address2": "sample string 4",
    "telephone": "sample string 5",
    "primaryContactGuid": "xWlcQiV6LkuWmLkIst7mRg==",
    "primaryContactID": "425c69c5-7a25-4b2e-9698-b908b2dee646",
    "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>05b9b4f3-4c21-4f8f-900b-7455c8c96915</d2p1:ID>
    <d2p1:Identifier>iO3M5kg2nkqxt477bbhSrQ==</d2p1:Identifier>
    <d2p1:IdentifierGuid>e6cced88-3648-4a9e-b1b7-8efb6db852ad</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>v3VAdeZ6JU+4AH5MKQMvGA==</ContactGuid>
  <ContactID>754075bf-7ae6-4f25-b800-7e4c29032f18</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>QToQ6mig406AurId99jaVQ==</d2p1:Identifier>
    <d2p1:IdentifierGuid>ea103a41-a068-4ee3-80ba-b21df7d8da55</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>05b9b4f3-4c21-4f8f-900b-7455c8c96915</d3p1:ID>
      <d3p1:Identifier>iO3M5kg2nkqxt477bbhSrQ==</d3p1:Identifier>
      <d3p1:IdentifierGuid>e6cced88-3648-4a9e-b1b7-8efb6db852ad</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>xWlcQiV6LkuWmLkIst7mRg==</d2p1:PrimaryContactGuid>
    <d2p1:PrimaryContactID>425c69c5-7a25-4b2e-9698-b908b2dee646</d2p1:PrimaryContactID>
    <d2p1:Telephone>sample string 5</d2p1:Telephone>
  </TransportCompany>
  <TransportCompanyGuid>JP/6g1UanUS+VZKIyRIvWA==</TransportCompanyGuid>
  <TransportCompanyIdentifierGuid>83faff24-1a55-449d-be55-9288c9122f58</TransportCompanyIdentifierGuid>
</TransportCompanyContact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"57b7f979-9521-42f0-aab9-a26672011ed2"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">57b7f979-9521-42f0-aab9-a26672011ed2</guid>

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Sample:
PK-�[�Y��5xl/workbook.xml �(�����0��&�C���4	p��Ճ�Z��H����[J ��mgv��if�_k_�'j��1FW����u`�NZ�yL�?��R	�xk0�Т(���GeM�x���
�����4Ww�B���`Y&c�����!�j2l��
���=���\��1�JÍ]�`��%�����;�!���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="Rcdf977c8fa564870" /></Relationships>PK-�[?�L$�xl/worksheets/sheet1.xml �(��Q�N�0���w���PAm'�i���кK�&��t�瓤!q�Ė��{v��͎��
�����z��
�a�������k� "��Gn@�0=J�;�V�
M�bm �*Ĕϒ��tx�n��,��^2�*D)���ae���U�-�q���8h��D��^0
<mAȶ��w����4�'�%%/}E��?�SV~e���1����C��>�t4�|k��@Xu��b���U�mQVU����~���} ���W�r�ɚGT[3-�s9��(���(��׶��5������~��|"
�Y����/PK-�[����Pxl/_rels/workbook.xml.rels �(���Kn�0@�b;�7	�M7l)0�8�H��6�����W�E�6H]t�j4��'�|��6o�@�b�]�`@�i���k��C
��j��Jy"�~�$��؀Miz�4j��������aT)�����G�!��4�p�$�˄�!zcz��^�Ft�0}��-b�W����O)�k�E�ٶ
���hYK��(e�r �nj1]��^��LFK�kQI���ZTw��*`��B���i^���R��٢����j��/�_PK-�[Ѓc'2E
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-�[M����xl/sharedStrings.xml �(�5�An�0E�by��X
��8�J9A{�	�Sf����Yd�������ȫ�ŝS�A7'��X�D�A]ͻV,@��p��Z]b`U�ă^D�ky\0�ʆT�����~���/��W�km�DZ�� �Z�J?~��
R�ݭ���7��7�����z�m;�'��`�}[_�PK--�[�Y��5xl/workbook.xmlPK--�[����	�[Content_Types].xmlPK-
-�[^И�''V_rels/.relsPK--�[?�L$��xl/worksheets/sheet1.xmlPK--�[����P8xl/_rels/workbook.xml.relsPK--�[Ѓc'2E
~xl/styles.xmlPK--�[M�����xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PK-�[�K�.�5xl/workbook.xml �(�����0��&�C����Op��Ճ��l������Ƿ@ ��mgv��)F���ڞ|�`B�K���rƂ�PC8X�&��b��Ŭ�J`m�[������y *kB�\��Vp�
b�ÂҠ��;B���S�f����d���o��a�Ŭ��%�!%�soKz���*
���.���q�tco�����/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
-�[���v''_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="R8209b7d742404d32" /></Relationships>PK-�[?�L$�xl/worksheets/sheet1.xml �(��Q�N�0���w���PAm'�i���кK�&��t�瓤!q�Ė��{v��͎��
�����z��
�a�������k� "��Gn@�0=J�;�V�
M�bm �*Ĕϒ��tx�n��,��^2�*D)���ae���U�-�q���8h��D��^0
<mAȶ��w����4�'�%%/}E��?�SV~e���1����C��>�t4�|k��@Xu��b���U�mQVU����~���} ���W�r�ɚGT[3-�s9��(���(��׶��5������~��|"
�Y����/PK-�[�-Ɖ�Pxl/_rels/workbook.xml.rels �(����n� @�אT�ɒ�k�8�a[�i�o��O�/�R�H�d:����|���ަ��`L�w
]T�tڛ�u
=g���n�9���H�)#.5��9<2�t���t�c}� �4v,�>A�l�y��Ao��x	���vи��<���٫���#fJ�;�
�)%v
��P)y2
=�U+j-�X
�cY��M-�ˈ���;�����H#�2l{W�"���Kϝ���=�J��Z	@-���j��_l�PK-�[Ѓc'2E
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-�[M����xl/sharedStrings.xml �(�5�An�0E�by��X
��8�J9A{�	�Sf����Yd�������ȫ�ŝS�A7'��X�D�A]ͻV,@��p��Z]b`U�ă^D�ky\0�ʆT�����~���/��W�km�DZ�� �Z�J?~��
R�ݭ���7��7�����z�m;�'��`�}[_�PK--�[�K�.�5xl/workbook.xmlPK--�[����	��[Content_Types].xmlPK-
-�[���v''U_rels/.relsPK--�[?�L$��xl/worksheets/sheet1.xmlPK--�[�-Ɖ�P7xl/_rels/workbook.xml.relsPK--�[Ѓc'2E
}xl/styles.xmlPK--�[M�����xl/sharedStrings.xmlPK��