POST api/Recipe/GetRecipeSearchResults

Request Information

URI Parameters

None.

Body Parameters

MPW.DataAccess.Models.RecipeSearchParamModel
NameDescriptionTypeAdditional information
Page

integer

None.

NumberPerPage

integer

None.

UsePaging

boolean

None.

Search

string

None.

RecipeSourceId

integer

None.

RecipeCategoryId

integer

None.

GroupId

integer

None.

Component

MPW.DataAccess.Models.EnumComponent

None.

SearchItemsOnMenus

boolean

None.

ShowInactive

boolean

None.

WeeklyNutrient

MPW.DataAccess.Models.EnumWeeklyNutrient

None.

WeeklyNutrientMin

decimal number

None.

WeeklyNutrientMax

decimal number

None.

Allergens

Collection of integer

None.

ContainsSelectedAllergens

boolean

None.

ContainingIngredientId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Page": 1,
  "NumberPerPage": 2,
  "UsePaging": true,
  "Search": "sample string 4",
  "RecipeSourceId": 1,
  "RecipeCategoryId": 1,
  "GroupId": 1,
  "Component": 0,
  "SearchItemsOnMenus": true,
  "ShowInactive": true,
  "WeeklyNutrient": 1,
  "WeeklyNutrientMin": 1.0,
  "WeeklyNutrientMax": 1.0,
  "Allergens": [
    1,
    2
  ],
  "ContainsSelectedAllergens": true,
  "ContainingIngredientId": "sample string 8"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.