GET api/CustomerList?SessionID={SessionID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
UserDetailReturnObj| Name | Description | Type | Additional information |
|---|---|---|---|
| ReturnCode | integer |
None. |
|
| ReturnMessage | string |
None. |
|
| Customers | Collection of CustomerInfoBasic |
None. |
Response Formats
application/json, text/json
Sample:
{
"ReturnCode": 1,
"ReturnMessage": "sample string 2",
"Customers": [
{
"CustomerID": "sample string 1",
"CustomerCode": "sample string 2",
"CustomerName": "sample string 3",
"Status": true
},
{
"CustomerID": "sample string 1",
"CustomerCode": "sample string 2",
"CustomerName": "sample string 3",
"Status": true
}
]
}
application/xml, text/xml
Sample:
<CustomerListController.UserDetailReturnObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileAPI">
<Customers>
<CustomerListController.CustomerInfoBasic>
<CustomerCode>sample string 2</CustomerCode>
<CustomerID>sample string 1</CustomerID>
<CustomerName>sample string 3</CustomerName>
<Status>true</Status>
</CustomerListController.CustomerInfoBasic>
<CustomerListController.CustomerInfoBasic>
<CustomerCode>sample string 2</CustomerCode>
<CustomerID>sample string 1</CustomerID>
<CustomerName>sample string 3</CustomerName>
<Status>true</Status>
</CustomerListController.CustomerInfoBasic>
</Customers>
<ReturnCode>1</ReturnCode>
<ReturnMessage>sample string 2</ReturnMessage>
</CustomerListController.UserDetailReturnObj>