POST company/AddCompany
Request Information
URI Parameters
None.
Body Parameters
iAddOrUpdateCompanyName | Description | Type | Additional information |
---|---|---|---|
companyID | globally unique identifier |
None. |
|
companyLogo | string |
None. |
|
companyName | string |
None. |
|
companyEmail | string |
None. |
|
companyOfficeTel | string |
None. |
|
companyMobileTel | string |
None. |
|
companyRegistrationNo | string |
None. |
|
companyFaxNo | string |
None. |
|
companyWebsite | string |
None. |
|
companyAddress1 | string |
None. |
|
companyAddress2 | string |
None. |
|
companyPostcode | string |
None. |
|
companyCity | string |
None. |
|
companyState | string |
None. |
|
companyCountry | globally unique identifier |
None. |
|
createdID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "companyID": "c45f20ce-5db3-4289-b800-10b60aee71ee", "companyLogo": "sample string 2", "companyName": "sample string 3", "companyEmail": "sample string 4", "companyOfficeTel": "sample string 5", "companyMobileTel": "sample string 6", "companyRegistrationNo": "sample string 7", "companyFaxNo": "sample string 8", "companyWebsite": "sample string 9", "companyAddress1": "sample string 10", "companyAddress2": "sample string 11", "companyPostcode": "sample string 12", "companyCity": "sample string 13", "companyState": "sample string 14", "companyCountry": "27048b5f-02d7-463e-af8e-03a82c060853", "createdID": "sample string 16" }
application/xml, text/xml
Sample:
<iAddOrUpdateCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WNTY_DAT.Model"> <companyAddress1>sample string 10</companyAddress1> <companyAddress2>sample string 11</companyAddress2> <companyCity>sample string 13</companyCity> <companyCountry>27048b5f-02d7-463e-af8e-03a82c060853</companyCountry> <companyEmail>sample string 4</companyEmail> <companyFaxNo>sample string 8</companyFaxNo> <companyID>c45f20ce-5db3-4289-b800-10b60aee71ee</companyID> <companyLogo>sample string 2</companyLogo> <companyMobileTel>sample string 6</companyMobileTel> <companyName>sample string 3</companyName> <companyOfficeTel>sample string 5</companyOfficeTel> <companyPostcode>sample string 12</companyPostcode> <companyRegistrationNo>sample string 7</companyRegistrationNo> <companyState>sample string 14</companyState> <companyWebsite>sample string 9</companyWebsite> <createdID>sample string 16</createdID> </iAddOrUpdateCompany>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
oResultName | Description | Type | Additional information |
---|---|---|---|
StatusCode | boolean |
None. |
|
Message | string |
None. |
|
Lang | string |
None. |
|
Records | Collection of Object |
None. |
|
ListingData1 | Collection of Object |
None. |
|
ListingData2 | Collection of Object |
None. |
|
ListingData3 | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusCode": true, "Message": "sample string 2", "Lang": "sample string 3", "Records": [ {}, {} ], "ListingData1": [ {}, {} ], "ListingData2": [ {}, {} ], "ListingData3": [ {}, {} ] }
application/xml, text/xml
Sample:
<oResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WNTY_DAT.Model"> <Lang>sample string 3</Lang> <ListingData1 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData1> <ListingData2 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData2> <ListingData3 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData3> <Message>sample string 2</Message> <Records xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </Records> <StatusCode>true</StatusCode> </oResult>