POST api/transportCompany/{id}/contact
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
TransportCompanyContactName | 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": "mql/vGZ/xk+SAG31lZgsbQ==", "transportCompanyIdentifierGuid": "bc7fa99a-7f66-4fc6-9200-6df595982c6d", "contactGuid": "BK+97ffh70iBG2QA9noaag==", "contactID": "edbdaf04-e1f7-48ef-811b-6400f67a1a6a", "contact": { "$id": "2", "id": "065da4ee-ec13-4156-bfdb-38b56f936861", "identifier": "dqSkY/gR4USc2OTkED4sSg==", "identifierGuid": "63a4a476-11f8-44e1-9cd8-e4e4103e2c4a", "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": "nw5iBiWHQE+vY98EfiUBMw==", "identifierGuid": "06620e9f-8725-4f40-af63-df047e250133", "companyName": "sample string 1", "abn": "sample string 2", "address1": "sample string 3", "address2": "sample string 4", "telephone": "sample string 5", "primaryContactGuid": "Cm8Jv09NtEGXpEfoY/XLOg==", "primaryContactID": "bf096f0a-4d4f-41b4-97a4-47e863f5cb3a", "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>065da4ee-ec13-4156-bfdb-38b56f936861</d2p1:ID> <d2p1:Identifier>dqSkY/gR4USc2OTkED4sSg==</d2p1:Identifier> <d2p1:IdentifierGuid>63a4a476-11f8-44e1-9cd8-e4e4103e2c4a</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>BK+97ffh70iBG2QA9noaag==</ContactGuid> <ContactID>edbdaf04-e1f7-48ef-811b-6400f67a1a6a</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>nw5iBiWHQE+vY98EfiUBMw==</d2p1:Identifier> <d2p1:IdentifierGuid>06620e9f-8725-4f40-af63-df047e250133</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>065da4ee-ec13-4156-bfdb-38b56f936861</d3p1:ID> <d3p1:Identifier>dqSkY/gR4USc2OTkED4sSg==</d3p1:Identifier> <d3p1:IdentifierGuid>63a4a476-11f8-44e1-9cd8-e4e4103e2c4a</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>Cm8Jv09NtEGXpEfoY/XLOg==</d2p1:PrimaryContactGuid> <d2p1:PrimaryContactID>bf096f0a-4d4f-41b4-97a4-47e863f5cb3a</d2p1:PrimaryContactID> <d2p1:Telephone>sample string 5</d2p1:Telephone> </TransportCompany> <TransportCompanyGuid>mql/vGZ/xk+SAG31lZgsbQ==</TransportCompanyGuid> <TransportCompanyIdentifierGuid>bc7fa99a-7f66-4fc6-9200-6df595982c6d</TransportCompanyIdentifierGuid> </TransportCompanyContact>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"d74c0a17-0a9b-4344-ab8c-80de4ddcf420"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">d74c0a17-0a9b-4344-ab8c-80de4ddcf420</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK M E[{J�� 5 xl/workbook.xml � (� ����0D�&�C���� )��x��}mi�-ik��-H�yۙ�};|��Zۓ��/]E�ƒ1/:��OvDw�uB���l�*��o�&�,I.�� AY�;5z���a��!H�!=�( ���x ��� '��hlug��5�~S|���"4V�� �,�MV4�ĕ*�� ���,D��@��wg���PK M E[���� � [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 M E[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="Rb29286d3105646d6" /></Relationships>PK M E[�ƀ�% � xl/worksheets/sheet1.xml � (� �Q�n� ���J�6UV%�&U�v�v��,q j����? �4i� [~~��T��،�)25���:e�5L�(��Tٛ����qG[��~<r�Z�Z� �hB�'����r�{���I��|�enq>H9�F+���hQtɂV*-����T`��ž��o��|W��_1�c|�b��Ր%,��$�W�:��4�7Z�Q]�*ROK�K7�*� ���.��]���}�{,�CY�K`��<鏵���+M�</����l*��y\r�]�wn��ϱ7� ����˰%�"�6)��\�PK M E[K�E� P xl/_rels/workbook.xml.rels � (� ��An� E��f_�+�U�l��6�Ɗ Hۜ���W(J��H]t��?��4����f����C�����ҩɎ��~��n8��oD3�H�0)�GJ�4��X9�6w��H�#�B�Ĉ�alMCɀ[&9^<��贞$�</h�`���)��(i��(��QW� �I ph��oVR�u�8�wS��2c������tõ�y�W�]e���Sț.�ʸ��R���p�ZT�Fo���PK M E[Ѓ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 M E[��T� � xl/sharedStrings.xml � (� 5�An� E��fO )j� �E�� =�&1���ۇ.�|���}z�Y��*����Ek�|����PҐΕi�' �S�"M�)�Sk˧1'*(����Zׂ��z3���I&�Vfs����*֍[ׂ�8�7���.�����.Z��ŏ�vo�i�Q6�K)^��zӂ7}�_�PK- M E[{J�� 5 xl/workbook.xmlPK- M E[���� � � [Content_Types].xmlPK- M E[v@�' ' U _rels/.relsPK- M E[�ƀ�% � � xl/worksheets/sheet1.xmlPK- M E[K�E� P 8 xl/_rels/workbook.xml.relsPK- M E[Ѓc'2 E } xl/styles.xmlPK- M E[��T� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK M E[J�[�� 5 xl/workbook.xml � (� ����0��&�C��H���x��})[�H����[ �x�3;��ԓ������ф�7T��*���!��C�v�z 1I�dVű����D�gٕy!*k�T.Е�+8�0����4(C�ぐzn�P8�E&c�;���!����~�(b@cC;�@��܆��)�J�=D��9ϊ �/tgﰚm��/PK M E[���� � [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 M E[���' ' _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="Rf059044f8e184d3d" /></Relationships>PK M E[�ƀ�% � xl/worksheets/sheet1.xml � (� �Q�n� ���J�6UV%�&U�v�v��,q j����? �4i� [~~��T��،�)25���:e�5L�(��Tٛ����qG[��~<r�Z�Z� �hB�'����r�{���I��|�enq>H9�F+���hQtɂV*-����T`��ž��o��|W��_1�c|�b��Ր%,��$�W�:��4�7Z�Q]�*ROK�K7�*� ���.��]���}�{,�CY�K`��<鏵���+M�</����l*��y\r�]�wn��ϱ7� ����˰%�"�6)��\�PK M E[g��/� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞رҐ��ݰa��gGM��v�=�����ĂMW��==i���c�=O#{%g�3��r�`�NQ?T�ݬw4bL�s`iņL���A�0dn&�:�� cJ}�gTG�K!J��e��e���փ�g�N����9�(;��)6�S ��,Q��t �d�[YK%��V����B��~����BYW��X�B�UƠ�n}���iY^���(�WXղhuqU�7��PK M E[Ѓ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 M E[��T� � xl/sharedStrings.xml � (� 5�An� E��fO )j� �E�� =�&1���ۇ.�|���}z�Y��*����Ek�|����PҐΕi�' �S�"M�)�Sk˧1'*(����Zׂ��z3���I&�Vfs����*֍[ׂ�8�7���.�����.Z��ŏ�vo�i�Q6�K)^��zӂ7}�_�PK- M E[J�[�� 5 xl/workbook.xmlPK- M E[���� � � [Content_Types].xmlPK- M E[���' ' U _rels/.relsPK- M E[�ƀ�% � � xl/worksheets/sheet1.xmlPK- M E[g��/� P 8 xl/_rels/workbook.xml.relsPK- M E[Ѓc'2 E ~ xl/styles.xmlPK- M E[��T� � � xl/sharedStrings.xmlPK � �