| POST | /api/rooms/task/saveorder |
|---|
| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/rooms/task/saveorder HTTP/1.1
Host: api.pos365.vn
Accept: application/json
Content-Type: application/json
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-01T00:00:00.0000000Z","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: application/json
Content-Length: length
{}