GET api/workstations?stageID={stageID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stageID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WorkStationWithSaleResumeData| Name | Description | Type | Additional information |
|---|---|---|---|
| SaleResumeList | Collection of SaleResumeData |
None. |
|
| HasOpenTickets | boolean |
None. |
|
| HasReceivableTickets | boolean |
None. |
|
| StageID | integer |
None. |
|
| Name | string |
None. |
|
| Status | WorkStationStatusEnum |
None. |
|
| MarginLeft | decimal number |
None. |
|
| MarginTop | decimal number |
None. |
|
| Width | integer |
None. |
|
| Height | integer |
None. |
|
| Type | string |
None. |
|
| BorderTopLeft | integer |
None. |
|
| BorderTopRight | integer |
None. |
|
| BorderBottomLeft | integer |
None. |
|
| BorderBottomRight | integer |
None. |
|
| DeletedInFront | boolean |
None. |
|
| ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SaleResumeList": [
{
"Number": 1,
"Type": 0,
"ClientName": "sample string 1",
"Status": 0,
"Total": 1.0,
"CurrencyCode": 0,
"WaiterName": "sample string 2",
"WaiterColor": "sample string 3",
"ID": 1
},
{
"Number": 1,
"Type": 0,
"ClientName": "sample string 1",
"Status": 0,
"Total": 1.0,
"CurrencyCode": 0,
"WaiterName": "sample string 2",
"WaiterColor": "sample string 3",
"ID": 1
}
],
"HasOpenTickets": true,
"HasReceivableTickets": false,
"StageID": 1,
"Name": "sample string 1",
"Status": 0,
"MarginLeft": 1.0,
"MarginTop": 1.0,
"Width": 1,
"Height": 1,
"Type": "sample string 2",
"BorderTopLeft": 1,
"BorderTopRight": 1,
"BorderBottomLeft": 1,
"BorderBottomRight": 1,
"DeletedInFront": true,
"ID": 1
},
{
"SaleResumeList": [
{
"Number": 1,
"Type": 0,
"ClientName": "sample string 1",
"Status": 0,
"Total": 1.0,
"CurrencyCode": 0,
"WaiterName": "sample string 2",
"WaiterColor": "sample string 3",
"ID": 1
},
{
"Number": 1,
"Type": 0,
"ClientName": "sample string 1",
"Status": 0,
"Total": 1.0,
"CurrencyCode": 0,
"WaiterName": "sample string 2",
"WaiterColor": "sample string 3",
"ID": 1
}
],
"HasOpenTickets": true,
"HasReceivableTickets": false,
"StageID": 1,
"Name": "sample string 1",
"Status": 0,
"MarginLeft": 1.0,
"MarginTop": 1.0,
"Width": 1,
"Height": 1,
"Type": "sample string 2",
"BorderTopLeft": 1,
"BorderTopRight": 1,
"BorderBottomLeft": 1,
"BorderBottomRight": 1,
"DeletedInFront": true,
"ID": 1
}
]
text/xml
Sample:
<ArrayOfWorkStationWithSaleResumeData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<WorkStationWithSaleResumeData>
<ID>1</ID>
<BorderBottomLeft>1</BorderBottomLeft>
<BorderBottomRight>1</BorderBottomRight>
<BorderTopLeft>1</BorderTopLeft>
<BorderTopRight>1</BorderTopRight>
<DeletedInFront>true</DeletedInFront>
<Height>1</Height>
<MarginLeft>1</MarginLeft>
<MarginTop>1</MarginTop>
<Name>sample string 1</Name>
<StageID>1</StageID>
<Status>OPEN</Status>
<Type>sample string 2</Type>
<Width>1</Width>
<SaleResumeList xmlns:d3p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.Sales">
<d3p1:SaleResumeData>
<ID>1</ID>
<d3p1:ClientName>sample string 1</d3p1:ClientName>
<d3p1:CurrencyCode>ARS</d3p1:CurrencyCode>
<d3p1:Number>1</d3p1:Number>
<d3p1:Status>OPEN</d3p1:Status>
<d3p1:Total>1</d3p1:Total>
<d3p1:Type>SALE</d3p1:Type>
<d3p1:WaiterColor>sample string 3</d3p1:WaiterColor>
<d3p1:WaiterName>sample string 2</d3p1:WaiterName>
</d3p1:SaleResumeData>
<d3p1:SaleResumeData>
<ID>1</ID>
<d3p1:ClientName>sample string 1</d3p1:ClientName>
<d3p1:CurrencyCode>ARS</d3p1:CurrencyCode>
<d3p1:Number>1</d3p1:Number>
<d3p1:Status>OPEN</d3p1:Status>
<d3p1:Total>1</d3p1:Total>
<d3p1:Type>SALE</d3p1:Type>
<d3p1:WaiterColor>sample string 3</d3p1:WaiterColor>
<d3p1:WaiterName>sample string 2</d3p1:WaiterName>
</d3p1:SaleResumeData>
</SaleResumeList>
</WorkStationWithSaleResumeData>
<WorkStationWithSaleResumeData>
<ID>1</ID>
<BorderBottomLeft>1</BorderBottomLeft>
<BorderBottomRight>1</BorderBottomRight>
<BorderTopLeft>1</BorderTopLeft>
<BorderTopRight>1</BorderTopRight>
<DeletedInFront>true</DeletedInFront>
<Height>1</Height>
<MarginLeft>1</MarginLeft>
<MarginTop>1</MarginTop>
<Name>sample string 1</Name>
<StageID>1</StageID>
<Status>OPEN</Status>
<Type>sample string 2</Type>
<Width>1</Width>
<SaleResumeList xmlns:d3p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.Sales">
<d3p1:SaleResumeData>
<ID>1</ID>
<d3p1:ClientName>sample string 1</d3p1:ClientName>
<d3p1:CurrencyCode>ARS</d3p1:CurrencyCode>
<d3p1:Number>1</d3p1:Number>
<d3p1:Status>OPEN</d3p1:Status>
<d3p1:Total>1</d3p1:Total>
<d3p1:Type>SALE</d3p1:Type>
<d3p1:WaiterColor>sample string 3</d3p1:WaiterColor>
<d3p1:WaiterName>sample string 2</d3p1:WaiterName>
</d3p1:SaleResumeData>
<d3p1:SaleResumeData>
<ID>1</ID>
<d3p1:ClientName>sample string 1</d3p1:ClientName>
<d3p1:CurrencyCode>ARS</d3p1:CurrencyCode>
<d3p1:Number>1</d3p1:Number>
<d3p1:Status>OPEN</d3p1:Status>
<d3p1:Total>1</d3p1:Total>
<d3p1:Type>SALE</d3p1:Type>
<d3p1:WaiterColor>sample string 3</d3p1:WaiterColor>
<d3p1:WaiterName>sample string 2</d3p1:WaiterName>
</d3p1:SaleResumeData>
</SaleResumeList>
</WorkStationWithSaleResumeData>
</ArrayOfWorkStationWithSaleResumeData>