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": "6e0092c7-6b62-4c31-a911-252705008bf0",
"ParentID": "1fc3697d-bb76-4cc4-8ae4-ebf8e65b7ba6",
"ItemCategoryCode": "sample string 2",
"ItemCategoryName": "sample string 3",
"Description": "sample string 4",
"CategoryType": 5,
"SortOrder": 6,
"IsTag": true,
"TotalItem": 8
},
{
"InventoryItemCategoryID": "6e0092c7-6b62-4c31-a911-252705008bf0",
"ParentID": "1fc3697d-bb76-4cc4-8ae4-ebf8e65b7ba6",
"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>6e0092c7-6b62-4c31-a911-252705008bf0</_InventoryItemCategoryID>
<_IsTag>true</_IsTag>
<_ItemCategoryCode>sample string 2</_ItemCategoryCode>
<_ItemCategoryName>sample string 3</_ItemCategoryName>
<_ParentID>1fc3697d-bb76-4cc4-8ae4-ebf8e65b7ba6</_ParentID>
<_SortOrder>6</_SortOrder>
<_TotalItem>8</_TotalItem>
</QROrder_InventoryItemCategory>
<QROrder_InventoryItemCategory>
<_CategoryType>5</_CategoryType>
<_Description>sample string 4</_Description>
<_InventoryItemCategoryID>6e0092c7-6b62-4c31-a911-252705008bf0</_InventoryItemCategoryID>
<_IsTag>true</_IsTag>
<_ItemCategoryCode>sample string 2</_ItemCategoryCode>
<_ItemCategoryName>sample string 3</_ItemCategoryName>
<_ParentID>1fc3697d-bb76-4cc4-8ae4-ebf8e65b7ba6</_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>