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