GET api/orders/pointOfSales

Gets all point of sales

Request Information

URI Parameters

None.

Body Parameters

None.

Remarks

Use api/orders/pointOfSales to get all point of sales.

Example

//Gets all point of sales
http://localhost/api/orders/pointOfSales

Response Information

Resource Description

Returns all point of sales

Collection of PointOfSaleResponse
NameDescriptionTypeAdditional information
Id

integer

None.

BranchId

integer

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "BranchId": 2,
    "Name": "sample string 3"
  },
  {
    "Id": 1,
    "BranchId": 2,
    "Name": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPointOfSaleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Order">
  <PointOfSaleResponse>
    <BranchId>2</BranchId>
    <Id>1</Id>
    <Name>sample string 3</Name>
  </PointOfSaleResponse>
  <PointOfSaleResponse>
    <BranchId>2</BranchId>
    <Id>1</Id>
    <Name>sample string 3</Name>
  </PointOfSaleResponse>
</ArrayOfPointOfSaleResponse>