POST api/CycleMenu/AnalyzeCycleMenu/{cycleMenuId}/{analysisDays}/{analyzeDay}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cycleMenuId | integer |
Required |
|
| analysisDays | integer |
Required |
|
| analyzeDay | integer |
Required |
Body Parameters
MPW.DataAccess.Models.WriteParamModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Details | Collection of MPW.DataAccess.Models.WriteDetailParamModel |
None. |
|
| ReimbMeals | Collection of MPW.DataAccess.Models.WriteReimbMealParamModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Details": [
{
"Alacarte": true,
"DisplayOnCalendar": true,
"CycleMenuId": 2,
"DayNumber": 3,
"RecipeId": "sample string 4",
"QtyOfPortion": 5.0,
"OrderNum": 1,
"ProjectedServings": 1,
"IsParent": true,
"Children": []
},
{
"Alacarte": true,
"DisplayOnCalendar": true,
"CycleMenuId": 2,
"DayNumber": 3,
"RecipeId": "sample string 4",
"QtyOfPortion": 5.0,
"OrderNum": 1,
"ProjectedServings": 1,
"IsParent": true,
"Children": []
}
],
"ReimbMeals": [
{
"Children": [
"sample string 1",
"sample string 2"
],
"RecipeId": "sample string 1",
"Description": "sample string 2",
"UserModified": true,
"DayNumber": 1,
"FruitJuicePercent": 2.0,
"VegJuicePercent": 3.0,
"GrainDessert": 4.0,
"Milk_ValidVarieties": true,
"Calories": 6.0,
"SatFat": 7.0,
"Sodium": 8.0,
"TotalFat": 9.0,
"MinMeat": 10.0,
"MaxMeat": 11.0,
"MinGrain": 12.0,
"MaxGrain": 13.0,
"MaxFruit": 14.0,
"MinFruit": 15.0,
"MaxFruitJuice": 16.0,
"MaxVeg": 17.0,
"MaxVegJuice": 18.0,
"MinVeg": 19.0,
"MinMilk": 20.0,
"MinDarkGreenVeg": 21.0,
"MinRedOrangeVeg": 22.0,
"MinLegumesVeg": 23.0,
"MinStarchyVeg": 24.0,
"MinOtherVeg": 25.0,
"MinAdditionalVeg": 26.0,
"MaxDarkGreenVeg": 27.0,
"MaxRedOrangeVeg": 28.0,
"MaxLegumesVeg": 29.0,
"MaxStarchyVeg": 30.0,
"MaxOtherVeg": 31.0,
"MaxAdditionalVeg": 32.0,
"Milk_Varieties": [
0,
0
],
"Fruit": 33.0,
"DarkGreenVeg": 34.0,
"RedOrangeVeg": 35.0,
"LegumesVeg": 36.0,
"StarchyVeg": 37.0,
"OtherVeg": 38.0,
"AdditionalVeg": 39.0,
"WholeGrain": 40.0,
"EnrichedGrain": 41.0,
"MeatAlt": 42.0,
"Milk": 43.0,
"FruitJuice": 44.0,
"VegJuice": 45.0,
"DessertGrain": 46.0,
"TotalVeg": 47.0,
"TotalGrain": 48.0
},
{
"Children": [
"sample string 1",
"sample string 2"
],
"RecipeId": "sample string 1",
"Description": "sample string 2",
"UserModified": true,
"DayNumber": 1,
"FruitJuicePercent": 2.0,
"VegJuicePercent": 3.0,
"GrainDessert": 4.0,
"Milk_ValidVarieties": true,
"Calories": 6.0,
"SatFat": 7.0,
"Sodium": 8.0,
"TotalFat": 9.0,
"MinMeat": 10.0,
"MaxMeat": 11.0,
"MinGrain": 12.0,
"MaxGrain": 13.0,
"MaxFruit": 14.0,
"MinFruit": 15.0,
"MaxFruitJuice": 16.0,
"MaxVeg": 17.0,
"MaxVegJuice": 18.0,
"MinVeg": 19.0,
"MinMilk": 20.0,
"MinDarkGreenVeg": 21.0,
"MinRedOrangeVeg": 22.0,
"MinLegumesVeg": 23.0,
"MinStarchyVeg": 24.0,
"MinOtherVeg": 25.0,
"MinAdditionalVeg": 26.0,
"MaxDarkGreenVeg": 27.0,
"MaxRedOrangeVeg": 28.0,
"MaxLegumesVeg": 29.0,
"MaxStarchyVeg": 30.0,
"MaxOtherVeg": 31.0,
"MaxAdditionalVeg": 32.0,
"Milk_Varieties": [
0,
0
],
"Fruit": 33.0,
"DarkGreenVeg": 34.0,
"RedOrangeVeg": 35.0,
"LegumesVeg": 36.0,
"StarchyVeg": 37.0,
"OtherVeg": 38.0,
"AdditionalVeg": 39.0,
"WholeGrain": 40.0,
"EnrichedGrain": 41.0,
"MeatAlt": 42.0,
"Milk": 43.0,
"FruitJuice": 44.0,
"VegJuice": 45.0,
"DessertGrain": 46.0,
"TotalVeg": 47.0,
"TotalGrain": 48.0
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional 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. |