POST api/Production/Write

Request Information

URI Parameters

None.

Body Parameters

MPW.DataAccess.Models.ProductionModel
NameDescriptionTypeAdditional information
Id

integer

None.

ServingDT

date

None.

SiteId

string

None.

MealType

integer

None.

Standard

string

None.

SubstitutionsMade

boolean

None.

SubstitutionsMadeKnown

date

None.

FeedingFigure

integer

None.

ServedStudents

integer

None.

GradeFrom

string

None.

GradeTo

string

None.

ServedCatered

integer

None.

ServedSFSAdult

integer

None.

ServedOther

integer

None.

ServedSnacks

integer

None.

OfferVsServe

boolean

None.

OfferVsServeNotes

string

None.

ServedNotes

string

None.

PersonnelHealthy

boolean

None.

PersonnelCleanAppearance

boolean

None.

PersonnelWashingHands

boolean

None.

PersonnelNoBareHandContact

boolean

None.

PersonnelThermometersChecked

boolean

None.

PersonnelNotes

string

None.

IsClosed

boolean

None.

CycleMenuDescription

string

None.

CycleMenuId

integer

None.

SC_Manager

string

None.

SC_Menu1Entree

string

None.

SC_Menu2Entree

string

None.

SC_Menu3Entree

string

None.

SC_OtherMenuItems

string

None.

SC_ProgramType

string

None.

IsWaterAvailable

boolean

None.

FeedingFigurePreK

integer

None.

ServedPreK

integer

None.

StateAttributes

string

None.

CloserUserId

integer

None.

FeedingFigureAlacarte

integer

None.

FeedingFigureAdult

integer

None.

FeedingFigureOffered

integer

None.

SiteDescription

string

None.

PlannedReimbursableMeals

integer

None.

WaterAvailable

boolean

None.

Details

Collection of MPW.DataAccess.Models.ProductionDetailModel

None.

Status

MPW.DataAccess.Models.EnumProductionStatus

None.

Request Formats

application/json, text/json

Sample:
{
  "Details": [
    {
      "RecipeCategoryId": 1,
      "DailyMenuProdId": 1,
      "Id": 2,
      "RecipeId": "sample string 3",
      "IngredientId": "sample string 4",
      "IsSingleIngredientRecipe": true,
      "Description": "sample string 6",
      "QtyOfPortion": 7.0,
      "MeasureOfPortion": "sample string 8",
      "RecipeQtyOfPortion": 9.0,
      "ReimbursableMeals": 10,
      "PlannedAlacarte": 11,
      "PlannedAdult": 12,
      "Kitchen": true,
      "x3History": 14,
      "IngredientQuantity1": 15.0,
      "IngredientMeasure1": "sample string 16",
      "IngredientQuantity2": 17.0,
      "IngredientMeasure2": "sample string 18",
      "Offered": 19,
      "OfferedAlacarte": 20,
      "OfferedAdult": 21,
      "OfferedPreK": 22,
      "Served": 23,
      "ServedAlacarte": 24,
      "ServedAdult": 25,
      "Leftover": 26,
      "Discard": 27,
      "AvailableReserve": true,
      "TargetTemperature": "sample string 29",
      "HoldTemperature": "sample string 30",
      "TimeFirstPanPrepared": "sample string 31",
      "PreparedTemperature": "sample string 32",
      "RemovedTemperature": "sample string 33",
      "LeftoverTemperature": "sample string 34",
      "LeftoverDays": 35,
      "Comments": "sample string 36",
      "IsLeftover": true,
      "Leftovers": [
        {
          "DailyMenuProdDetailId": 1,
          "Portions": 2.0,
          "RecipeId": "sample string 3",
          "Id": 4,
          "RecipeLeftoverId": 5,
          "UseByDT": "2026-01-18T01:33:00.0283014-05:00"
        },
        {
          "DailyMenuProdDetailId": 1,
          "Portions": 2.0,
          "RecipeId": "sample string 3",
          "Id": 4,
          "RecipeLeftoverId": 5,
          "UseByDT": "2026-01-18T01:33:00.0283014-05:00"
        }
      ],
      "Fruit": 38.0,
      "DarkGreenVeg": 39.0,
      "RedOrangeVeg": 40.0,
      "LegumesVeg": 41.0,
      "StarchyVeg": 42.0,
      "OtherVeg": 43.0,
      "Grain": 44.0,
      "MeatAlt": 45.0,
      "Milk": 46.0,
      "RecipeNumberOfPortion": 47.0,
      "PlannedTotal": 33,
      "UnitsFor100": "sample string 48",
      "ServingLine": [
        "sample string 1",
        "sample string 2"
      ],
      "ServingLine1": true,
      "ServingLine2": true,
      "ServingLine3": true,
      "ServingLine4": true,
      "ServingLineAggregated": "sample string 1, sample string 2",
      "ServedPreK": 53,
      "PlannedPreK": 54,
      "IngredientAmount": "8.19 sample string 16 9.28 sample string 18",
      "RecipeCategoryValue": 1,
      "MealContributions": "315 Meat, 308 Grain, 273 DGVeg, 280 ROVeg, 287 LVeg, 294 SVeg, 301 OVeg, 266 Fruit, 322 Milk"
    },
    {
      "RecipeCategoryId": 1,
      "DailyMenuProdId": 1,
      "Id": 2,
      "RecipeId": "sample string 3",
      "IngredientId": "sample string 4",
      "IsSingleIngredientRecipe": true,
      "Description": "sample string 6",
      "QtyOfPortion": 7.0,
      "MeasureOfPortion": "sample string 8",
      "RecipeQtyOfPortion": 9.0,
      "ReimbursableMeals": 10,
      "PlannedAlacarte": 11,
      "PlannedAdult": 12,
      "Kitchen": true,
      "x3History": 14,
      "IngredientQuantity1": 15.0,
      "IngredientMeasure1": "sample string 16",
      "IngredientQuantity2": 17.0,
      "IngredientMeasure2": "sample string 18",
      "Offered": 19,
      "OfferedAlacarte": 20,
      "OfferedAdult": 21,
      "OfferedPreK": 22,
      "Served": 23,
      "ServedAlacarte": 24,
      "ServedAdult": 25,
      "Leftover": 26,
      "Discard": 27,
      "AvailableReserve": true,
      "TargetTemperature": "sample string 29",
      "HoldTemperature": "sample string 30",
      "TimeFirstPanPrepared": "sample string 31",
      "PreparedTemperature": "sample string 32",
      "RemovedTemperature": "sample string 33",
      "LeftoverTemperature": "sample string 34",
      "LeftoverDays": 35,
      "Comments": "sample string 36",
      "IsLeftover": true,
      "Leftovers": [
        {
          "DailyMenuProdDetailId": 1,
          "Portions": 2.0,
          "RecipeId": "sample string 3",
          "Id": 4,
          "RecipeLeftoverId": 5,
          "UseByDT": "2026-01-18T01:33:00.0283014-05:00"
        },
        {
          "DailyMenuProdDetailId": 1,
          "Portions": 2.0,
          "RecipeId": "sample string 3",
          "Id": 4,
          "RecipeLeftoverId": 5,
          "UseByDT": "2026-01-18T01:33:00.0283014-05:00"
        }
      ],
      "Fruit": 38.0,
      "DarkGreenVeg": 39.0,
      "RedOrangeVeg": 40.0,
      "LegumesVeg": 41.0,
      "StarchyVeg": 42.0,
      "OtherVeg": 43.0,
      "Grain": 44.0,
      "MeatAlt": 45.0,
      "Milk": 46.0,
      "RecipeNumberOfPortion": 47.0,
      "PlannedTotal": 33,
      "UnitsFor100": "sample string 48",
      "ServingLine": [
        "sample string 1",
        "sample string 2"
      ],
      "ServingLine1": true,
      "ServingLine2": true,
      "ServingLine3": true,
      "ServingLine4": true,
      "ServingLineAggregated": "sample string 1, sample string 2",
      "ServedPreK": 53,
      "PlannedPreK": 54,
      "IngredientAmount": "8.19 sample string 16 9.28 sample string 18",
      "RecipeCategoryValue": 1,
      "MealContributions": "315 Meat, 308 Grain, 273 DGVeg, 280 ROVeg, 287 LVeg, 294 SVeg, 301 OVeg, 266 Fruit, 322 Milk"
    }
  ],
  "Status": 0,
  "Id": 1,
  "ServingDT": "2026-01-18T01:33:00.0283014-05:00",
  "SiteId": "sample string 3",
  "MealType": 4,
  "Standard": "sample string 5",
  "SubstitutionsMade": true,
  "SubstitutionsMadeKnown": "2026-01-18T01:33:00.0283014-05:00",
  "FeedingFigure": 1,
  "ServedStudents": 7,
  "GradeFrom": "sample string 8",
  "GradeTo": "sample string 9",
  "ServedCatered": 10,
  "ServedSFSAdult": 11,
  "ServedOther": 12,
  "ServedSnacks": 13,
  "OfferVsServe": true,
  "OfferVsServeNotes": "sample string 15",
  "ServedNotes": "sample string 16",
  "PersonnelHealthy": true,
  "PersonnelCleanAppearance": true,
  "PersonnelWashingHands": true,
  "PersonnelNoBareHandContact": true,
  "PersonnelThermometersChecked": true,
  "PersonnelNotes": "sample string 22",
  "IsClosed": true,
  "CycleMenuDescription": "sample string 24",
  "CycleMenuId": 1,
  "SC_Manager": "sample string 25",
  "SC_Menu1Entree": "sample string 26",
  "SC_Menu2Entree": "sample string 27",
  "SC_Menu3Entree": "sample string 28",
  "SC_OtherMenuItems": "sample string 29",
  "SC_ProgramType": "sample string 30",
  "IsWaterAvailable": true,
  "FeedingFigurePreK": 31,
  "ServedPreK": 32,
  "StateAttributes": "sample string 33",
  "CloserUserId": 1,
  "FeedingFigureAlacarte": 1,
  "FeedingFigureAdult": 1,
  "FeedingFigureOffered": 1,
  "SiteDescription": "sample string 34",
  "PlannedReimbursableMeals": 1,
  "WaterAvailable": true
}

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.