GET api/CustomerList?APIToken={APIToken}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| APIToken | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerList| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerNumber | string |
None. |
|
| CustomerName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CustomerNumber": "sample string 1",
"CustomerName": "sample string 2"
},
{
"CustomerNumber": "sample string 1",
"CustomerName": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomerList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DrinkMoreWaterService.Models">
<CustomerList>
<CustomerName>sample string 2</CustomerName>
<CustomerNumber>sample string 1</CustomerNumber>
</CustomerList>
<CustomerList>
<CustomerName>sample string 2</CustomerName>
<CustomerNumber>sample string 1</CustomerNumber>
</CustomerList>
</ArrayOfCustomerList>