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": "MEJsfOoMJEejEalyl5TqIQ==",
"transportCompanyIdentifierGuid": "7c6c4230-0cea-4724-a311-a9729794ea21",
"contactGuid": "BAXups71A0WpiGYomMbaVQ==",
"contactID": "a6ee0504-f5ce-4503-a988-662898c6da55",
"contact": {
"$id": "2",
"id": "ab8f4be4-2df5-43ab-8827-f77abfcdf235",
"identifier": "alJ5M6+OaU2/2FjNid04fQ==",
"identifierGuid": "3379526a-8eaf-4d69-bfd8-58cd89dd387d",
"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": "gTcF0XXuckacZjygfvVqrw==",
"identifierGuid": "d1053781-ee75-4672-9c66-3ca07ef56aaf",
"companyName": "sample string 1",
"abn": "sample string 2",
"address1": "sample string 3",
"address2": "sample string 4",
"telephone": "sample string 5",
"primaryContactGuid": "jLs27aZoCky0yGbgu30xsw==",
"primaryContactID": "ed36bb8c-68a6-4c0a-b4c8-66e0bb7d31b3",
"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>ab8f4be4-2df5-43ab-8827-f77abfcdf235</d2p1:ID>
<d2p1:Identifier>alJ5M6+OaU2/2FjNid04fQ==</d2p1:Identifier>
<d2p1:IdentifierGuid>3379526a-8eaf-4d69-bfd8-58cd89dd387d</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>BAXups71A0WpiGYomMbaVQ==</ContactGuid>
<ContactID>a6ee0504-f5ce-4503-a988-662898c6da55</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>gTcF0XXuckacZjygfvVqrw==</d2p1:Identifier>
<d2p1:IdentifierGuid>d1053781-ee75-4672-9c66-3ca07ef56aaf</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>ab8f4be4-2df5-43ab-8827-f77abfcdf235</d3p1:ID>
<d3p1:Identifier>alJ5M6+OaU2/2FjNid04fQ==</d3p1:Identifier>
<d3p1:IdentifierGuid>3379526a-8eaf-4d69-bfd8-58cd89dd387d</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>jLs27aZoCky0yGbgu30xsw==</d2p1:PrimaryContactGuid>
<d2p1:PrimaryContactID>ed36bb8c-68a6-4c0a-b4c8-66e0bb7d31b3</d2p1:PrimaryContactID>
<d2p1:Telephone>sample string 5</d2p1:Telephone>
</TransportCompany>
<TransportCompanyGuid>MEJsfOoMJEejEalyl5TqIQ==</TransportCompanyGuid>
<TransportCompanyIdentifierGuid>7c6c4230-0cea-4724-a311-a9729794ea21</TransportCompanyIdentifierGuid>
</TransportCompanyContact>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"b8a5348d-15d3-4227-aad3-d3d5aa6f593c"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">b8a5348d-15d3-4227-aad3-d3d5aa6f593c</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK `��\��&f� 5 xl/workbook.xml � (� ����0D�&�C����()��x��})[i�-ik��-H�yۙ�};|��o���G���]c��j�';��;i���{1+�X[��h˒���5�S��+��B�;Ġ��AZ���S�����l���o�/��bQĀƒ���Ź�%M)q������۴ɯ����wg���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
`��\pO�' ' _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="Rd6bb447e4b3c4595" /></Relationships>PK `��\eT$ � xl/worksheets/sheet1.xml � (� �Q�j�0���괥](Iʠ��6v��^�Ԧ�d����v�첃m =��$Wǻ�
(X�\�
)���Y����C)�M5#]�`�>���y<(ZN���c�Gr�cJ�}o[8a;9�6E�W��(��\���F�enX���^6Ug#{r/�Z>��PM�����+i�O�kJ^�Z����Y��D��~����p��.��8�|g�ޤp����vlj�-W��]�ٔe�.�{)�)0�����TM�<i�ME8��Ȟ�4O�N�x��ޚ�R��O��_�M��������5_PK `��\��y� P xl/_rels/workbook.xml.rels � (� ��An� E��f_c��(N6�t��Ɗ
Hۜ���W(j�֑��&+4��i����e��88� +J h���7pN�n
�����L�F4��$?�����P��I��y���]�d�e詗�${��,W4�p�$Nj���փ�{�����>�p�19��cj�'���`E�y�8H��E�Z��Rp��Л��t1�z}�3�U����U��m�o*cd��1����<��1�V���\�Rt�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 `��\�Z�;� � xl/sharedStrings.xml � (� 5��n�0D��{pHM�cH|A��x!��u�n�}�Co�43�q�W�͓V����j0�c��|]��(r�93
�&s�NDM��0�.'ke�(���B\�[^j��neY �LD�f����&�f�k��q|lt��2�S��c��P��V�����
m�����U��_ޖW�PK- `��\��&f� 5 xl/workbook.xmlPK- `��\���� � � [Content_Types].xmlPK-
`��\pO�' ' U _rels/.relsPK- `��\eT$ � � xl/worksheets/sheet1.xmlPK- `��\��y� P 7 xl/_rels/workbook.xml.relsPK- `��\Ѓc'2 E
~ xl/styles.xmlPK- `��\�Z�;� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK `��\�
o5� 5 xl/workbook.xml � (� ����0D�&�C�`Q� '.^=xoa�
�%m
~��7o;��o'��1��^�� �2J]-P1w0�k�U�i_Դ���2�[���E)��3/�vB�?,7Xd��^�J1����ɧfO���e0ֺ�I����|�m�"�),�b���{S���d͕� ���9�l�
���w�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
`��\Q)' ' _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="R299f2f8515c14b6c" /></Relationships>PK `��\eT$ � xl/worksheets/sheet1.xml � (� �Q�j�0���괥](Iʠ��6v��^�Ԧ�d����v�첃m =��$Wǻ�
(X�\�
)���Y����C)�M5#]�`�>���y<(ZN���c�Gr�cJ�}o[8a;9�6E�W��(��\���F�enX���^6Ug#{r/�Z>��PM�����+i�O�kJ^�Z����Y��D��~����p��.��8�|g�ޤp����vlj�-W��]�ٔe�.�{)�)0�����TM�<i�ME8��Ȟ�4O�N�x��ޚ�R��O��_�M��������5_PK `��\Wl��� P xl/_rels/workbook.xml.rels � (� ��KN�0��b͞8i��i7lؖ^��q5�-�z6�+`Q R��������iƟ����<�qt���(���N�v���]��f�O�F4��$?�����4J�3���hsG�0��0P��HWe�аd�5���CtZ��<�h�`���1���À���(��*2ȓ�a�:�Ԃ�������ZL� �ץ^ȬX�T��k��7�1<�zN!oz鴌j���v]���eN��_l� 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 `��\�Z�;� � xl/sharedStrings.xml � (� 5��n�0D��{pHM�cH|A��x!��u�n�}�Co�43�q�W�͓V����j0�c��|]��(r�93
�&s�NDM��0�.'ke�(���B\�[^j��neY �LD�f����&�f�k��q|lt��2�S��c��P��V�����
m�����U��_ޖW�PK- `��\�
o5� 5 xl/workbook.xmlPK- `��\���� � [Content_Types].xmlPK-
`��\Q)' ' V _rels/.relsPK- `��\eT$ � � xl/worksheets/sheet1.xmlPK- `��\Wl��� P 8 xl/_rels/workbook.xml.relsPK- `��\Ѓc'2 E
� xl/styles.xmlPK- `��\�Z�;� � � xl/sharedStrings.xmlPK � �