GET api/OnlineTimeSchedule/GetMenuCategoryTimeSchedule?companyCode={companyCode}&branchID={branchID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

string

Required

branchID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

APIOrderOnlineResultOfListOfMenuCategoryTimeSchedule
NameDescriptionTypeAdditional information
Data

Collection of MenuCategoryTimeSchedule

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,
    {
      "MenuCategoryTimeScheduleID": "5b1b2be9-5960-4f49-a70b-149771a9bf84",
      "PartnerMenuCategoryID": "966ea006-5b1c-4bb1-b664-1307309f389a",
      "OnlineTimeScheduleCategoryID": "8906f78b-1f4d-49bc-8c4d-f93e52d88801",
      "PartnerMenuCategoryName": "sample string 4",
      "SortOrder": 5,
      "BranchID": "427584a0-6a21-46c5-bd65-2488a90c047a",
      "EditMode": 0,
      "CreatedDate": "2026-03-22T04:26:06.0675971+07:00",
      "CreatedBy": "sample string 8",
      "ModifiedDate": "2026-03-22T04:26:06.0675971+07:00",
      "ModifiedBy": "sample string 9",
      "IsGenerate": true,
      "IsSetNullForBranchIdInDeleteObject": true
    }
  ],
  "Success": true,
  "ErrorMessage": "sample string 2",
  "ErrorType": 0,
  "Total": 3,
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<APIOrderOnlineResultOfArrayOfMenuCategoryTimeSchedule34ouyJuR 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:MenuCategoryTimeSchedule i:nil="true" />
    <d2p1:MenuCategoryTimeSchedule>
      <d2p1:PropertyChangedEvent xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
      <d2p1:_CreatedBy>sample string 8</d2p1:_CreatedBy>
      <d2p1:_CreatedDate>2026-03-22T04:26:06.0675971+07:00</d2p1:_CreatedDate>
      <d2p1:_EditMode>None</d2p1:_EditMode>
      <d2p1:_ImportErrorDetail>sample string 14</d2p1:_ImportErrorDetail>
      <d2p1:_ImportRowIndex>13</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 9</d2p1:_ModifiedBy>
      <d2p1:_ModifiedDate>2026-03-22T04:26:06.0675971+07:00</d2p1:_ModifiedDate>
      <d2p1:_TableSchema>sample string 7</d2p1:_TableSchema>
      <d2p1:BranchID>427584a0-6a21-46c5-bd65-2488a90c047a</d2p1:BranchID>
      <d2p1:MenuCategoryTimeScheduleID>5b1b2be9-5960-4f49-a70b-149771a9bf84</d2p1:MenuCategoryTimeScheduleID>
      <d2p1:OnlineTimeScheduleCategoryID>8906f78b-1f4d-49bc-8c4d-f93e52d88801</d2p1:OnlineTimeScheduleCategoryID>
      <d2p1:PartnerMenuCategoryID>966ea006-5b1c-4bb1-b664-1307309f389a</d2p1:PartnerMenuCategoryID>
      <d2p1:PartnerMenuCategoryName>sample string 4</d2p1:PartnerMenuCategoryName>
      <d2p1:SortOrder>5</d2p1:SortOrder>
    </d2p1:MenuCategoryTimeSchedule>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <ErrorType>None</ErrorType>
  <Message>sample string 4</Message>
  <Success>true</Success>
  <Total>3</Total>
</APIOrderOnlineResultOfArrayOfMenuCategoryTimeSchedule34ouyJuR>