GET OneStop/v3/Customers/{customerID}
Get details for the specified Customer
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerID |
ID of customer to get |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
ID of the customer. |
globally unique identifier |
None. |
| Name |
Customer name |
string |
None. |
| Description |
Description of customer |
string |
None. |
| Address |
Customer address |
Address |
None. |
| Contacts |
Customer contacts |
Collection of Contact |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": "f68520db-a8c7-4d20-a56f-4c8b7774ffe0",
"Name": "sample string 2",
"Description": "sample string 3",
"Address": {
"AddressLine1": "sample string 1",
"AddressLine2": "sample string 2",
"AddressLine3": "sample string 3",
"AddressLine4": "sample string 4",
"Town": "sample string 5",
"County": "sample string 6",
"Country": "sample string 7",
"PostCode": "sample string 8"
},
"Contacts": null
}
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OneStopWebAPI.DTO.v3">
<Address>
<AddressLine1>sample string 1</AddressLine1>
<AddressLine2>sample string 2</AddressLine2>
<AddressLine3>sample string 3</AddressLine3>
<AddressLine4>sample string 4</AddressLine4>
<Country>sample string 7</Country>
<County>sample string 6</County>
<PostCode>sample string 8</PostCode>
<Town>sample string 5</Town>
</Address>
<Contacts i:nil="true" />
<Description>sample string 3</Description>
<Name>sample string 2</Name>
</Customer>