GET api/InventoryItem/GetInventoryItemCategoryByMenuBookID?menuBookID={menuBookID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| menuBookID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
APIOrderOnlineResultOfListOfQROrder_InventoryItemCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of QROrder_InventoryItemCategory |
None. |
|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorType | OrderOnlineAPIErrorType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"InventoryItemCategoryID": "0ea0adfd-5735-4a89-8a5d-5c56d65a132f",
"ParentID": "5512788b-4344-4027-baff-991a0fb3742b",
"ItemCategoryCode": "sample string 2",
"ItemCategoryName": "sample string 3",
"Description": "sample string 4",
"CategoryType": 5,
"SortOrder": 6,
"IsTag": true,
"TotalItem": 8
},
{
"InventoryItemCategoryID": "0ea0adfd-5735-4a89-8a5d-5c56d65a132f",
"ParentID": "5512788b-4344-4027-baff-991a0fb3742b",
"ItemCategoryCode": "sample string 2",
"ItemCategoryName": "sample string 3",
"Description": "sample string 4",
"CategoryType": 5,
"SortOrder": 6,
"IsTag": true,
"TotalItem": 8
}
],
"Success": true,
"ErrorMessage": "sample string 2",
"ErrorType": 0,
"Total": 3,
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<APIOrderOnlineResultOfArrayOfQROrder_InventoryItemCategoryHwd4PmMc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
<Data>
<QROrder_InventoryItemCategory>
<_CategoryType>5</_CategoryType>
<_Description>sample string 4</_Description>
<_InventoryItemCategoryID>0ea0adfd-5735-4a89-8a5d-5c56d65a132f</_InventoryItemCategoryID>
<_IsTag>true</_IsTag>
<_ItemCategoryCode>sample string 2</_ItemCategoryCode>
<_ItemCategoryName>sample string 3</_ItemCategoryName>
<_ParentID>5512788b-4344-4027-baff-991a0fb3742b</_ParentID>
<_SortOrder>6</_SortOrder>
<_TotalItem>8</_TotalItem>
</QROrder_InventoryItemCategory>
<QROrder_InventoryItemCategory>
<_CategoryType>5</_CategoryType>
<_Description>sample string 4</_Description>
<_InventoryItemCategoryID>0ea0adfd-5735-4a89-8a5d-5c56d65a132f</_InventoryItemCategoryID>
<_IsTag>true</_IsTag>
<_ItemCategoryCode>sample string 2</_ItemCategoryCode>
<_ItemCategoryName>sample string 3</_ItemCategoryName>
<_ParentID>5512788b-4344-4027-baff-991a0fb3742b</_ParentID>
<_SortOrder>6</_SortOrder>
<_TotalItem>8</_TotalItem>
</QROrder_InventoryItemCategory>
</Data>
<ErrorMessage>sample string 2</ErrorMessage>
<ErrorType>None</ErrorType>
<Message>sample string 4</Message>
<Success>true</Success>
<Total>3</Total>
</APIOrderOnlineResultOfArrayOfQROrder_InventoryItemCategoryHwd4PmMc>