GET api/MasterConfig/Master/MCategoryList?PageNo={PageNo}&PageSize={PageSize}&SearchTerm={SearchTerm}&RestaurantID={RestaurantID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PageNo | integer |
Required |
|
| PageSize | integer |
Required |
|
| SearchTerm | string |
Required |
|
| RestaurantID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
MenuCategoryAPIVM| Name | Description | Type | Additional information |
|---|---|---|---|
| MenuCategoryList | Collection of MenuItemCategorieView |
None. |
|
| TotalRecords | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"MenuCategoryList": [
{
"ItemCategoryID": 1,
"ItemCategoryName": "sample string 2",
"RestaurantID": "sample string 3",
"RestaurantName": "sample string 4"
},
{
"ItemCategoryID": 1,
"ItemCategoryName": "sample string 2",
"RestaurantID": "sample string 3",
"RestaurantName": "sample string 4"
}
],
"TotalRecords": 1
}
application/xml, text/xml
Sample:
<MenuCategoryAPIVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Master.Operations.CustomModels">
<MenuCategoryList>
<MenuItemCategorieView>
<ItemCategoryID>1</ItemCategoryID>
<ItemCategoryName>sample string 2</ItemCategoryName>
<RestaurantID>sample string 3</RestaurantID>
<RestaurantName>sample string 4</RestaurantName>
</MenuItemCategorieView>
<MenuItemCategorieView>
<ItemCategoryID>1</ItemCategoryID>
<ItemCategoryName>sample string 2</ItemCategoryName>
<RestaurantID>sample string 3</RestaurantID>
<RestaurantName>sample string 4</RestaurantName>
</MenuItemCategorieView>
</MenuCategoryList>
<TotalRecords>1</TotalRecords>
</MenuCategoryAPIVM>