GET api/v2/Customers/List
Returns a list of Customers with the Customer Id and Name.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerListInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Name | string |
None. |
|
| CellPhone | string |
None. |
|
| EmailAddress | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "sample string 1",
"Name": "sample string 2",
"CellPhone": "sample string 3",
"EmailAddress": "sample string 4"
},
{
"Id": "sample string 1",
"Name": "sample string 2",
"CellPhone": "sample string 3",
"EmailAddress": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomerListInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.dockmaster.lib.models">
<CustomerListInfo>
<CellPhone>sample string 3</CellPhone>
<EmailAddress>sample string 4</EmailAddress>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</CustomerListInfo>
<CustomerListInfo>
<CellPhone>sample string 3</CellPhone>
<EmailAddress>sample string 4</EmailAddress>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</CustomerListInfo>
</ArrayOfCustomerListInfo>