POST api/v1/TableOperation
Request Information
URI Parameters
None.
Body Parameters
TableOperationlInput| Name | Description | Type | Additional information |
|---|---|---|---|
| CompID | integer |
None. |
|
| LocID | integer |
None. |
|
| TableID | integer |
None. |
|
| TableNo | string |
None. |
|
| TableMoveID | integer |
None. |
|
| Mode | string |
None. |
|
| UserID | integer |
None. |
|
| NoPax | integer |
None. |
|
| GuestName | string |
None. |
|
| GSTIN | string |
None. |
|
| MobileNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompID": 1,
"LocID": 2,
"TableID": 3,
"TableNo": "sample string 4",
"TableMoveID": 5,
"Mode": "sample string 6",
"UserID": 7,
"NoPax": 8,
"GuestName": "sample string 9",
"GSTIN": "sample string 10",
"MobileNo": "sample string 11"
}
application/xml, text/xml
Sample:
<TableOperationlInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <CompID>1</CompID> <GSTIN>sample string 10</GSTIN> <GuestName>sample string 9</GuestName> <LocID>2</LocID> <MobileNo>sample string 11</MobileNo> <Mode>sample string 6</Mode> <NoPax>8</NoPax> <TableID>3</TableID> <TableMoveID>5</TableMoveID> <TableNo>sample string 4</TableNo> <UserID>7</UserID> </TableOperationlInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
TableModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Errcode | integer |
None. |
|
| Message | string |
None. |
|
| TableList | Collection of TableListModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Errcode": 1,
"Message": "sample string 2",
"TableList": [
{
"TableID": 1,
"TableNo": "sample string 2",
"TableStatus": "sample string 3",
"UserName": "sample string 4",
"NoPax": 5,
"MobileNo": "sample string 6",
"GuestName": "sample string 7",
"GSTIN": "sample string 8"
},
{
"TableID": 1,
"TableNo": "sample string 2",
"TableStatus": "sample string 3",
"UserName": "sample string 4",
"NoPax": 5,
"MobileNo": "sample string 6",
"GuestName": "sample string 7",
"GSTIN": "sample string 8"
}
]
}
application/xml, text/xml
Sample:
<TableModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Errcode>1</Errcode>
<Message>sample string 2</Message>
<TableList>
<TableListModel>
<GSTIN>sample string 8</GSTIN>
<GuestName>sample string 7</GuestName>
<MobileNo>sample string 6</MobileNo>
<NoPax>5</NoPax>
<TableID>1</TableID>
<TableNo>sample string 2</TableNo>
<TableStatus>sample string 3</TableStatus>
<UserName>sample string 4</UserName>
</TableListModel>
<TableListModel>
<GSTIN>sample string 8</GSTIN>
<GuestName>sample string 7</GuestName>
<MobileNo>sample string 6</MobileNo>
<NoPax>5</NoPax>
<TableID>1</TableID>
<TableNo>sample string 2</TableNo>
<TableStatus>sample string 3</TableStatus>
<UserName>sample string 4</UserName>
</TableListModel>
</TableList>
</TableModel>