GET api/smartUser/getCustomerList?customer={customer}&userCode={userCode}&APIKey={APIKey}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customer | string |
Required |
|
| userCode | string |
Required |
|
| APIKey | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Address | string |
None. |
|
| string |
None. |
||
| Contact | string |
None. |
|
| SalesPerson | string |
None. |
|
| MobileNo | string |
None. |
|
| Tel | string |
None. |
|
| OutStanding | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"Address": "sample string 2",
"Email": "sample string 3",
"Contact": "sample string 4",
"SalesPerson": "sample string 5",
"MobileNo": "sample string 6",
"Tel": "sample string 7",
"OutStanding": 8.1
},
{
"Name": "sample string 1",
"Address": "sample string 2",
"Email": "sample string 3",
"Contact": "sample string 4",
"SalesPerson": "sample string 5",
"MobileNo": "sample string 6",
"Tel": "sample string 7",
"OutStanding": 8.1
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartAcc.API.Controllers">
<Customer>
<Address>sample string 2</Address>
<Contact>sample string 4</Contact>
<Email>sample string 3</Email>
<MobileNo>sample string 6</MobileNo>
<Name>sample string 1</Name>
<OutStanding>8.1</OutStanding>
<SalesPerson>sample string 5</SalesPerson>
<Tel>sample string 7</Tel>
</Customer>
<Customer>
<Address>sample string 2</Address>
<Contact>sample string 4</Contact>
<Email>sample string 3</Email>
<MobileNo>sample string 6</MobileNo>
<Name>sample string 1</Name>
<OutStanding>8.1</OutStanding>
<SalesPerson>sample string 5</SalesPerson>
<Tel>sample string 7</Tel>
</Customer>
</ArrayOfCustomer>