| POST | /api/serve |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServeEntities | body | List<RoomOrder> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RowKey | form | Guid | No | |
| PartitionKey | form | string | No | |
| RoomId | form | long | No | |
| RoomName | form | string | No | |
| Position | form | string | No | |
| ProductId | form | long | No | |
| Name | form | string | No | |
| Quantity | form | double | No | |
| Serveby | form | long? | No | |
| ServebyName | form | string | No | |
| Description | form | string | No | |
| Printer | form | string | No | |
| SecondPrinter | form | string | No | |
| Printer3 | form | string | No | |
| Printer4 | form | string | No | |
| Printer5 | form | string | No | |
| Topping | form | string | No | |
| TotalTopping | form | double? | No | |
| CreatedDate | form | DateTime | No | |
| Approved | form | bool | No | |
| IsLargeUnit | form | bool? | No | |
| PrintOnly | form | bool | No | |
| OrderCode | form | string | No | |
| ItemLineId | form | string | No | |
| Unit | form | string | No | |
| LargeUnit | form | string | No | |
| Price | form | decimal | No | |
| Printed | form | bool | No | |
| IsQrOrderPayFirst | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/serve HTTP/1.1
Host: api.pos365.vn
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ServeEntities:
[
{
RowKey: 00000000000000000000000000000000,
PartitionKey: String,
RoomId: 0,
RoomName: String,
Position: String,
ProductId: 0,
Name: String,
Quantity: 0,
Serveby: 0,
ServebyName: String,
Description: String,
Printer: String,
SecondPrinter: String,
Printer3: String,
Printer4: String,
Printer5: String,
Topping: String,
TotalTopping: 0,
CreatedDate: 0001-01-01,
Approved: False,
IsLargeUnit: False,
PrintOnly: False,
OrderCode: String,
ItemLineId: String,
Unit: String,
LargeUnit: String,
Price: 0,
Printed: False,
IsQrOrderPayFirst: False
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
}