POST api/Reservation?merchantId={merchantId}&guests={guests}&startSec={startSec}&durationSec={durationSec}&bookedId={bookedId}&areaID={areaID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| merchantId | integer |
Required |
|
| guests | integer |
Required |
|
| startSec | integer |
Required |
|
| durationSec | integer |
Required |
|
| bookedId | integer |
Default value is 0 |
|
| areaID | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
AssignTableResult| Name | Description | Type | Additional information |
|---|---|---|---|
| TableId | string |
None. |
|
| MergedTableId | string |
None. |
|
| TableNumber | string |
None. |
|
| Duration | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"TableId": "sample string 1",
"MergedTableId": "sample string 2",
"TableNumber": "sample string 3",
"Duration": 1
}
application/xml, text/xml
Sample:
<AssignTableResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Controllers"> <Duration>1</Duration> <MergedTableId>sample string 2</MergedTableId> <TableId>sample string 1</TableId> <TableNumber>sample string 3</TableNumber> </AssignTableResult>