GET api/Catering/GetDefaultFoodTypes?restaurantPackageTypeId={restaurantPackageTypeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| restaurantPackageTypeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RestaurantPackageFoodTypeView| Name | Description | Type | Additional information |
|---|---|---|---|
| FoodTypeId | integer |
None. |
|
| FoodTypeName | string |
None. |
|
| Selected | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"foodTypeId": 1,
"foodTypeName": "sample string 2",
"selected": true
},
{
"foodTypeId": 1,
"foodTypeName": "sample string 2",
"selected": true
}
]
text/html
Sample:
[{"foodTypeId":1,"foodTypeName":"sample string 2","selected":true},{"foodTypeId":1,"foodTypeName":"sample string 2","selected":true}]
application/xml, text/xml
Sample:
<ArrayOfRestaurantPackageFoodTypeView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
<RestaurantPackageFoodTypeView>
<FoodTypeId>1</FoodTypeId>
<FoodTypeName>sample string 2</FoodTypeName>
<Selected>true</Selected>
</RestaurantPackageFoodTypeView>
<RestaurantPackageFoodTypeView>
<FoodTypeId>1</FoodTypeId>
<FoodTypeName>sample string 2</FoodTypeName>
<Selected>true</Selected>
</RestaurantPackageFoodTypeView>
</ArrayOfRestaurantPackageFoodTypeView>