GET api-token/Reporting/Customers?salespersonCode={salespersonCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| salespersonCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerList| Name | Description | Type | Additional information |
|---|---|---|---|
| Customers | Collection of Customer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Customers": [
{
"No_": "sample string 1",
"Name": "sample string 2",
"SalespersonCode": "sample string 3"
},
{
"No_": "sample string 1",
"Name": "sample string 2",
"SalespersonCode": "sample string 3"
}
]
}
text/html
Sample:
{"Customers":[{"No_":"sample string 1","Name":"sample string 2","SalespersonCode":"sample string 3"},{"No_":"sample string 1","Name":"sample string 2","SalespersonCode":"sample string 3"}]}
application/xml, text/xml
Sample:
<CustomerList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TUS_API.Controllers">
<Customers xmlns:d2p1="http://schemas.datacontract.org/2004/07/Turbon.Data.Navision.Tables.Turbon_Group">
<d2p1:Customer>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:No_>sample string 1</d2p1:No_>
<d2p1:SalespersonCode>sample string 3</d2p1:SalespersonCode>
</d2p1:Customer>
<d2p1:Customer>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:No_>sample string 1</d2p1:No_>
<d2p1:SalespersonCode>sample string 3</d2p1:SalespersonCode>
</d2p1:Customer>
</Customers>
</CustomerList>