POST api/booking-online/GetListTableBooking?companyCode={companyCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companyCode | string |
Required |
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-07-01T20:49:19.5600786+07:00", "BranchID": "a4807c4d-97f1-466c-bab0-424492f02aaf", "BookingOnlineID": "a026b162-8b3e-4e16-b363-64e4882c196e" }
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>a026b162-8b3e-4e16-b363-64e4882c196e</BookingOnlineID> <BranchID>a4807c4d-97f1-466c-bab0-424492f02aaf</BranchID> <DateBookingTime>2025-07-01T20:49:19.5600786+07:00</DateBookingTime> </TimeBookingOnlineParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIBookingOnlineResultOfListOfMapObjectName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of MapObject |
None. |
|
Success | boolean |
None. |
|
ErrorMessage | string |
None. |
|
ErrorType | OrderOnlineAPIErrorType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ null, { "MapObjectID": "39a7ecb1-ecce-4a96-911a-6dd52baa9ade", "AreaID": "8c7833d4-e2d5-4b30-b02b-18fd4bd6b8c3", "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, "Angle": 1.0, "DeviceID": "sample string 17", "EditMode": 0, "CreatedDate": "2025-07-01T20:49:19.5756953+07:00", "CreatedBy": "sample string 19", "ModifiedDate": "2025-07-01T20:49:19.5756953+07:00", "ModifiedBy": "sample string 20", "IsGenerate": true, "IsSetNullForBranchIdInDeleteObject": true } ], "Success": true, "ErrorMessage": "sample string 2", "ErrorType": 0, "Total": 3, "Message": "sample string 4" }
application/xml, text/xml
Sample:
<APIBookingOnlineResultOfArrayOfMapObject34ouyJuR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <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 19</d2p1:_CreatedBy> <d2p1:_CreatedDate>2025-07-01T20:49:19.5756953+07:00</d2p1:_CreatedDate> <d2p1:_EditMode>None</d2p1:_EditMode> <d2p1:_ImportErrorDetail i:nil="true" /> <d2p1:_ImportRowIndex>0</d2p1:_ImportRowIndex> <d2p1:_IsGenerate>true</d2p1:_IsGenerate> <d2p1:_IsMasterRow>true</d2p1:_IsMasterRow> <d2p1:_IsOverrideImport>true</d2p1:_IsOverrideImport> <d2p1:_IsSetNullForBranchIdInDeleteObject>true</d2p1:_IsSetNullForBranchIdInDeleteObject> <d2p1:_ListImportErrorDetail xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:_ListImportErrorDetail> <d2p1:_ModifiedBy>sample string 20</d2p1:_ModifiedBy> <d2p1:_ModifiedDate>2025-07-01T20:49:19.5756953+07:00</d2p1:_ModifiedDate> <d2p1:_TableSchema>sample string 18</d2p1:_TableSchema> <d2p1:_Angle>1</d2p1:_Angle> <d2p1:_AreaID>8c7833d4-e2d5-4b30-b02b-18fd4bd6b8c3</d2p1:_AreaID> <d2p1:_AreaName>sample string 10</d2p1:_AreaName> <d2p1:_Capacity>1</d2p1:_Capacity> <d2p1:_Description>sample string 4</d2p1:_Description> <d2p1:_DeviceID>sample string 17</d2p1:_DeviceID> <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>39a7ecb1-ecce-4a96-911a-6dd52baa9ade</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> <Message>sample string 4</Message> <Success>true</Success> <Total>3</Total> </APIBookingOnlineResultOfArrayOfMapObject34ouyJuR>