This will benefit us in several ways.
Give us the ability to programmatically compare two or more similar recipes. Then report on the differences or if they are identical.
Give us the ability to create in-house custom recipe reports using existing in-house tools.
This would allow us to create our own tool to create variants. In one of two ways.
Download the recipe Details, manipulate the data then upload using the "ImportRecipe" API to create the variant.
Download the recipe Details, create a checklist report including "Production Batches" etc. which would then be used to create the variant using the FreshIQ tool.
Can more easily validate the import of a recipe.
This new "GetRecipeDetails" API would basically return the data that we would upload in the "ImportRecipe" API.
The payload/request.
{"BusinessUnit": 1234, "RecipeId": 9020 }
The Response is the same as the request in the "ImportRecipe" API.
{
"BusinessUnit": 1234,
"RecipeId": 9020,
"DepartmentNumber": 5,
"RecipeDescription": "Cookies",
"Instructions": [
"Mix Ingredients in Large Bowl",
"Seperate into spoon size amounts",
"Place on baking sheet",
"Bake for 20 minutes at 400"
],
"Ingredients": [{
"ActionCode": "A",
"VendorNumber": "2000",
"VendorName": "Gold Medal",
"VendorItemID": "1523",
"VendorItemDescription": "Flour",
"CostQuantity": 2,
"UnitOfMeasure": "Cups"
},
{
"ActionCode": "A",
"VendorNumber": "2001",
"VendorName": "Domino",
"VendorItemID": "1222",
"VendorItemDescription": "Sugar",
"CostQuantity": 0.5,
"UnitOfMeasure": "Cups"
}
],
"ProductionItems": [{
"ActionCode": "A",
"BusinessUnit": 0,
"ItemNumber": 52,
"PieceWeight": 2,
"UnitOfMeasure": "Ounces",
"TotalPieces": 1,
"ServingSize": 100,
"ServingSizeUnitOfMeasure": "Grams",
"MinimumBatchSize": 1,
"MaximumBatchSize": 10,
"BatchMultiplier": 2,
"CookingInstructions": "Bake at home for 30 minutes at 350",
"Materials": [{
"ActionCode": "A",
"VendorNumber": "2000",
"VendorName": "Paper Place",
"VendorItemID": "85204",
"VendorItemDescription": "Clamshell",
"Quantity": 1,
"UnitOfMeasure": "Each"
}],
"NutritionalValues": {
"US1990": [{
"NutrientName": "Saturated Fat",
"NutrientValue": 4
}],
"US2016": [{
"NutrientName": "Total Fat",
"NutrientValue": 4
},
{
"NutrientName": "Saturated Fat",
"NutrientValue": 2
}
],
"EU1169": [{
"NutrientName": "Total Fat",
"NutrientValue": 3
},
{
"NutrientName": "Saturates",
"NutrientValue": 4
}
]
}
}]
}