POST api/tickets/checktable
Request Information
URI Parameters
None.
Body Parameters
TableInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| TableNum | string |
None. |
|
| CustomerId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TableNum": "sample string 1",
"CustomerId": 2
}
text/html
Sample:
{"TableNum":"sample string 1","CustomerId":2}
application/xml, text/xml
Sample:
<TableInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.WebApi.Models"> <CustomerId>2</CustomerId> <TableNum>sample string 1</TableNum> </TableInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TableInfoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| CanSit | boolean |
None. |
|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CanSit": true,
"isSuccess": true,
"message": "sample string 3"
}
text/html
Sample:
{"CanSit":true,"isSuccess":true,"message":"sample string 3"}
application/xml, text/xml
Sample:
<TableInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.WebApi.Models"> <isSuccess>true</isSuccess> <message>sample string 3</message> <CanSit>true</CanSit> </TableInfoResponse>