POST api/booking-online/GetListBookingTime?companyCode={companyCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode | string |
Required |
Body Parameters
TimeBookingOnlineParam| Name | 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": "2026-03-22T04:26:24.6934466+07:00",
"BranchID": "999f15aa-78f7-47b5-8bd3-222338f4bc2f",
"BookingOnlineID": "a4228b23-9a73-4a9e-9756-189a5f0ad8c2"
}
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>a4228b23-9a73-4a9e-9756-189a5f0ad8c2</BookingOnlineID> <BranchID>999f15aa-78f7-47b5-8bd3-222338f4bc2f</BranchID> <DateBookingTime>2026-03-22T04:26:24.6934466+07:00</DateBookingTime> </TimeBookingOnlineParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIBookingOnlineResultOfListOfOrderOnlineTimeOpen| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of OrderOnlineTimeOpen |
None. |
|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorType | OrderOnlineAPIErrorType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"StartTimeInt": 1,
"EndTimeInt": 2,
"StartTime": "sample string 3",
"EndTime": "sample string 4",
"DateTimeDisplay": "sample string 5",
"RankID": 6,
"RankName": "sample string 7",
"Day": 8,
"IsReload": true,
"OpenTimeSaleDishName": "sample string 10"
},
{
"StartTimeInt": 1,
"EndTimeInt": 2,
"StartTime": "sample string 3",
"EndTime": "sample string 4",
"DateTimeDisplay": "sample string 5",
"RankID": 6,
"RankName": "sample string 7",
"Day": 8,
"IsReload": true,
"OpenTimeSaleDishName": "sample string 10"
}
],
"Success": true,
"ErrorMessage": "sample string 2",
"ErrorType": 0,
"Total": 3,
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<APIBookingOnlineResultOfArrayOfOrderOnlineTimeOpen34ouyJuR 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:OrderOnlineTimeOpen>
<d2p1:DateTimeDisplay>sample string 5</d2p1:DateTimeDisplay>
<d2p1:Day>8</d2p1:Day>
<d2p1:EndTime>sample string 4</d2p1:EndTime>
<d2p1:EndTimeInt>2</d2p1:EndTimeInt>
<d2p1:IsReload>true</d2p1:IsReload>
<d2p1:OpenTimeSaleDishName>sample string 10</d2p1:OpenTimeSaleDishName>
<d2p1:RankID>6</d2p1:RankID>
<d2p1:RankName>sample string 7</d2p1:RankName>
<d2p1:StartTime>sample string 3</d2p1:StartTime>
<d2p1:StartTimeInt>1</d2p1:StartTimeInt>
</d2p1:OrderOnlineTimeOpen>
<d2p1:OrderOnlineTimeOpen>
<d2p1:DateTimeDisplay>sample string 5</d2p1:DateTimeDisplay>
<d2p1:Day>8</d2p1:Day>
<d2p1:EndTime>sample string 4</d2p1:EndTime>
<d2p1:EndTimeInt>2</d2p1:EndTimeInt>
<d2p1:IsReload>true</d2p1:IsReload>
<d2p1:OpenTimeSaleDishName>sample string 10</d2p1:OpenTimeSaleDishName>
<d2p1:RankID>6</d2p1:RankID>
<d2p1:RankName>sample string 7</d2p1:RankName>
<d2p1:StartTime>sample string 3</d2p1:StartTime>
<d2p1:StartTimeInt>1</d2p1:StartTimeInt>
</d2p1:OrderOnlineTimeOpen>
</Data>
<ErrorMessage>sample string 2</ErrorMessage>
<ErrorType>None</ErrorType>
<Message>sample string 4</Message>
<Success>true</Success>
<Total>3</Total>
</APIBookingOnlineResultOfArrayOfOrderOnlineTimeOpen34ouyJuR>