GET api/InventoryItem/GetAllValidMenuBooks?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

APIOrderOnlineResultOfListOfMenuBook
NameDescriptionTypeAdditional information
Data

Collection of MenuBook

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,
    {
      "MenuBookID": "9f119ab7-9665-4968-bc30-deae721ce3ba",
      "MenuBookName": "sample string 2",
      "InActive": true,
      "SortOrder": 1,
      "FromDate": "2026-02-04T09:28:02.2689836+07:00",
      "ToDate": "2026-02-04T09:28:02.2689836+07:00",
      "FromTime": "2026-02-04T09:28:02.2689836+07:00",
      "ToTime": "2026-02-04T09:28:02.2689836+07:00",
      "FromTimeAsInt": 1,
      "ToTimeAsInt": 1,
      "TotalNumberOfItem": 4,
      "BranchID": "3e630740-164b-434e-a364-169f6b705887",
      "BranchName": "sample string 5",
      "ScheduleDisplay": "sample string 6",
      "EditMode": 0,
      "CreatedDate": "2026-02-04T09:28:02.2689836+07:00",
      "CreatedBy": "sample string 8",
      "ModifiedDate": "2026-02-04T09:28:02.2689836+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:
<APIOrderOnlineResultOfArrayOfMenuBook34ouyJuR 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:MenuBook i:nil="true" />
    <d2p1:MenuBook>
      <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-02-04T09:28:02.2689836+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-02-04T09:28:02.2689836+07:00</d2p1:_ModifiedDate>
      <d2p1:_TableSchema>sample string 7</d2p1:_TableSchema>
      <d2p1:BranchID>3e630740-164b-434e-a364-169f6b705887</d2p1:BranchID>
      <d2p1:BranchName>sample string 5</d2p1:BranchName>
      <d2p1:FromDate>2026-02-04T09:28:02.2689836+07:00</d2p1:FromDate>
      <d2p1:FromTime>2026-02-04T09:28:02.2689836+07:00</d2p1:FromTime>
      <d2p1:FromTimeAsInt>1</d2p1:FromTimeAsInt>
      <d2p1:InActive>true</d2p1:InActive>
      <d2p1:MenuBookID>9f119ab7-9665-4968-bc30-deae721ce3ba</d2p1:MenuBookID>
      <d2p1:MenuBookName>sample string 2</d2p1:MenuBookName>
      <d2p1:ScheduleDisplay>sample string 6</d2p1:ScheduleDisplay>
      <d2p1:SortOrder>1</d2p1:SortOrder>
      <d2p1:ToDate>2026-02-04T09:28:02.2689836+07:00</d2p1:ToDate>
      <d2p1:ToTime>2026-02-04T09:28:02.2689836+07:00</d2p1:ToTime>
      <d2p1:ToTimeAsInt>1</d2p1:ToTimeAsInt>
      <d2p1:TotalNumberOfItem>4</d2p1:TotalNumberOfItem>
    </d2p1:MenuBook>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <ErrorType>None</ErrorType>
  <Message>sample string 4</Message>
  <Success>true</Success>
  <Total>3</Total>
</APIOrderOnlineResultOfArrayOfMenuBook34ouyJuR>