GET api/Sector/PosList?customerId={customerId}&businessId={businessId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
Required |
|
| businessId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ConcisePointOfSale| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Address | string |
None. |
|
| PostalCode | string |
None. |
|
| City | BasicInformation |
None. |
|
| Sign | BasicInformation |
None. |
|
| AreaManagerId | integer |
None. |
|
| CustomerCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Address": "sample string 3",
"PostalCode": "sample string 4",
"City": {
"Id": 1,
"Name": "sample string 2"
},
"Sign": {
"Id": 1,
"Name": "sample string 2"
},
"AreaManagerId": 1,
"CustomerCode": "sample string 5"
},
{
"Id": 1,
"Name": "sample string 2",
"Address": "sample string 3",
"PostalCode": "sample string 4",
"City": {
"Id": 1,
"Name": "sample string 2"
},
"Sign": {
"Id": 1,
"Name": "sample string 2"
},
"AreaManagerId": 1,
"CustomerCode": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfConcisePointOfSale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myReportysModels.Models">
<ConcisePointOfSale>
<Address>sample string 3</Address>
<AreaManagerId>1</AreaManagerId>
<City>
<Id>1</Id>
<Name>sample string 2</Name>
</City>
<CustomerCode>sample string 5</CustomerCode>
<Id>1</Id>
<Name>sample string 2</Name>
<PostalCode>sample string 4</PostalCode>
<Sign>
<Id>1</Id>
<Name>sample string 2</Name>
</Sign>
</ConcisePointOfSale>
<ConcisePointOfSale>
<Address>sample string 3</Address>
<AreaManagerId>1</AreaManagerId>
<City>
<Id>1</Id>
<Name>sample string 2</Name>
</City>
<CustomerCode>sample string 5</CustomerCode>
<Id>1</Id>
<Name>sample string 2</Name>
<PostalCode>sample string 4</PostalCode>
<Sign>
<Id>1</Id>
<Name>sample string 2</Name>
</Sign>
</ConcisePointOfSale>
</ArrayOfConcisePointOfSale>