POST api/v1/booking-online/table-booking
Request Information
URI Parameters
None.
Body Parameters
TimeBookingOnlineParamName | Description | Type | Additional information |
---|---|---|---|
DateBookingTime | date |
None. |
|
BranchID | globally unique identifier |
None. |
|
BookingOnlineID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "DateBookingTime": "2025-06-25T13:38:16.3153153+07:00", "BranchID": "f79f4892-c6b5-4522-aa01-ee4f7ee8401a", "BookingOnlineID": "dd0cd9be-0f97-4a9e-8dae-e0bbd4505200" }
text/html
Sample:
{ "DateBookingTime": "2025-06-25T13:38:16.3153625+07:00", "BranchID": "f79f4892-c6b5-4522-aa01-ee4f7ee8401a", "BookingOnlineID": "dd0cd9be-0f97-4a9e-8dae-e0bbd4505200" }
application/xml, text/xml
Sample:
<TimeBookingOnlineParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <BookingOnlineID>dd0cd9be-0f97-4a9e-8dae-e0bbd4505200</BookingOnlineID> <BranchID>f79f4892-c6b5-4522-aa01-ee4f7ee8401a</BranchID> <DateBookingTime>2025-06-25T13:38:16.3153625+07:00</DateBookingTime> </TimeBookingOnlineParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GraphAPIResultOfListOfMapObjectName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of MapObject |
None. |
|
Success | boolean |
None. |
|
ErrorMessage | string |
None. |
|
ErrorType | GraphAPIErrorType |
None. |
|
Total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ null, { "MapObjectID": "bcb27466-c1b8-49d2-8a89-177686b44912", "AreaID": "62fb7a7a-f7be-4152-9178-ea63670cf358", "MapObjectType": 1, "MapObjectName": "sample string 3", "Description": "sample string 4", "TableType": 1, "DoorType": 1, "Capacity": 1, "TopPosition": 5.0, "LeftPosition": 6.0, "Width": 1.0, "Height": 1.0, "TableSelected": "sample string 7", "MapObjectNameCustom": "sample string 8", "MapObjectNameAreaCustom": "sample string 9", "AreaName": "sample string 10", "NumberArea": 1, "TemplateID": 1, "Position": 11, "Status": 0, "Chairs": [ { "Status": 2 } ], "NumChairAvailable": 12, "IsSelected": true, "IsOldSelected": true, "ImportListError": [ { "ColumnIndex": 1, "ColumnName": "sample string 2", "ErrorType": 3 }, { "ColumnIndex": 1, "ColumnName": "sample string 2", "ErrorType": 3 } ], "ImportErrorDetail": "sample string 15", "ImportRowIndex": 16, "EditMode": 0, "CreatedDate": "2025-06-25T13:38:16.3153153+07:00", "CreatedBy": "sample string 18", "ModifiedDate": "2025-06-25T13:38:16.3153153+07:00", "ModifiedBy": "sample string 19", "IsGenerate": true } ], "Success": true, "ErrorMessage": "sample string 2", "ErrorType": 0, "Total": 3 }
text/html
Sample:
{ "Data": [ null, { "MapObjectID": "bcb27466-c1b8-49d2-8a89-177686b44912", "AreaID": "62fb7a7a-f7be-4152-9178-ea63670cf358", "MapObjectType": 1, "MapObjectName": "sample string 3", "Description": "sample string 4", "TableType": 1, "DoorType": 1, "Capacity": 1, "TopPosition": 5.0, "LeftPosition": 6.0, "Width": 1.0, "Height": 1.0, "TableSelected": "sample string 7", "MapObjectNameCustom": "sample string 8", "MapObjectNameAreaCustom": "sample string 9", "AreaName": "sample string 10", "NumberArea": 1, "TemplateID": 1, "Position": 11, "Status": 0, "Chairs": [ { "Status": 2 } ], "NumChairAvailable": 12, "IsSelected": true, "IsOldSelected": true, "ImportListError": [ { "ColumnIndex": 1, "ColumnName": "sample string 2", "ErrorType": 3 }, { "ColumnIndex": 1, "ColumnName": "sample string 2", "ErrorType": 3 } ], "ImportErrorDetail": "sample string 15", "ImportRowIndex": 16, "EditMode": 0, "CreatedDate": "2025-06-25T13:38:16.3153625+07:00", "CreatedBy": "sample string 18", "ModifiedDate": "2025-06-25T13:38:16.3153625+07:00", "ModifiedBy": "sample string 19", "IsGenerate": true } ], "Success": true, "ErrorMessage": "sample string 2", "ErrorType": 0, "Total": 3 }
application/xml, text/xml
Sample:
<GraphAPIResultOfArrayOfMapObject34ouyJuR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <ActionType>Login</ActionType> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase"> <d2p1:MapObject i:nil="true" /> <d2p1:MapObject> <d2p1:PropertyChangedEvent xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" /> <d2p1:_CreatedBy>sample string 18</d2p1:_CreatedBy> <d2p1:_CreatedDate>2025-06-25T13:38:16.3153625+07:00</d2p1:_CreatedDate> <d2p1:_EditMode>None</d2p1:_EditMode> <d2p1:_IsGenerate>true</d2p1:_IsGenerate> <d2p1:_IsMasterRow>true</d2p1:_IsMasterRow> <d2p1:_IsOverrideImport>true</d2p1:_IsOverrideImport> <d2p1:_ModifiedBy>sample string 19</d2p1:_ModifiedBy> <d2p1:_ModifiedDate>2025-06-25T13:38:16.3153625+07:00</d2p1:_ModifiedDate> <d2p1:_TableSchema>sample string 17</d2p1:_TableSchema> <d2p1:_AreaID>62fb7a7a-f7be-4152-9178-ea63670cf358</d2p1:_AreaID> <d2p1:_AreaName>sample string 10</d2p1:_AreaName> <d2p1:_Capacity>1</d2p1:_Capacity> <d2p1:_Description>sample string 4</d2p1:_Description> <d2p1:_DoorType>1</d2p1:_DoorType> <d2p1:_Height>1</d2p1:_Height> <d2p1:_ImportErrorDetail>sample string 15</d2p1:_ImportErrorDetail> <d2p1:_ImportListError> <d2p1:ErrorDetail> <d2p1:_ColumnIndex>1</d2p1:_ColumnIndex> <d2p1:_ColumnName>sample string 2</d2p1:_ColumnName> <d2p1:_ErrorType>3</d2p1:_ErrorType> </d2p1:ErrorDetail> <d2p1:ErrorDetail> <d2p1:_ColumnIndex>1</d2p1:_ColumnIndex> <d2p1:_ColumnName>sample string 2</d2p1:_ColumnName> <d2p1:_ErrorType>3</d2p1:_ErrorType> </d2p1:ErrorDetail> </d2p1:_ImportListError> <d2p1:_ImportRowIndex>16</d2p1:_ImportRowIndex> <d2p1:_IsOldSelected>true</d2p1:_IsOldSelected> <d2p1:_IsSelected>true</d2p1:_IsSelected> <d2p1:_LeftPosition>6</d2p1:_LeftPosition> <d2p1:_MapObjectID>bcb27466-c1b8-49d2-8a89-177686b44912</d2p1:_MapObjectID> <d2p1:_MapObjectName>sample string 3</d2p1:_MapObjectName> <d2p1:_MapObjectNameAreaCustom>sample string 9</d2p1:_MapObjectNameAreaCustom> <d2p1:_MapObjectNameCustom>sample string 8</d2p1:_MapObjectNameCustom> <d2p1:_MapObjectType>1</d2p1:_MapObjectType> <d2p1:_NumChairAvailable>12</d2p1:_NumChairAvailable> <d2p1:_NumberArea>1</d2p1:_NumberArea> <d2p1:_Position>11</d2p1:_Position> <d2p1:_Status>None</d2p1:_Status> <d2p1:_TableSelected>sample string 7</d2p1:_TableSelected> <d2p1:_TableType>1</d2p1:_TableType> <d2p1:_TemplateID>TemplateOne</d2p1:_TemplateID> <d2p1:_TopPosition>5</d2p1:_TopPosition> <d2p1:_Width>1</d2p1:_Width> </d2p1:MapObject> </Data> <ErrorMessage>sample string 2</ErrorMessage> <ErrorType>None</ErrorType> <Success>true</Success> <Total>3</Total> </GraphAPIResultOfArrayOfMapObject34ouyJuR>