POST api/booking-online/GetListBookingTime?companyCode={companyCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

string

Required

Body Parameters

TimeBookingOnlineParam
NameDescriptionTypeAdditional information
DateBookingTime

date

None.

BranchID

globally unique identifier

None.

BookingOnlineID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "DateBookingTime": "2025-07-01T22:14:26.564291+07:00",
  "BranchID": "22bd7ca7-eb62-44c3-91a9-71651ad4e7fa",
  "BookingOnlineID": "60b3dfac-f3dd-49f0-9ccf-467d176af9e0"
}

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>60b3dfac-f3dd-49f0-9ccf-467d176af9e0</BookingOnlineID>
  <BranchID>22bd7ca7-eb62-44c3-91a9-71651ad4e7fa</BranchID>
  <DateBookingTime>2025-07-01T22:14:26.564291+07:00</DateBookingTime>
</TimeBookingOnlineParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIBookingOnlineResultOfListOfOrderOnlineTimeOpen
NameDescriptionTypeAdditional 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>