RME APIs that Relate to Ingredient and Recipe Carbon Values
Import API: Use these requests to upload and retrieve data via the APIs. The GET requests can be used to generate a valid payload for the POST requests.
URL (base endpoint URL + the following) |
Supported Verbs |
Resource Description |
/ingredientco2 |
GET POST |
Retrieve a list of ingredients and their KG of CO2e per KG values Upload ingredient KG of CO2e per KG value |
/ingredientcustomfields |
GET POST |
Retrieve a list of ingredients and their custom fields Upload custom field values for individual ingredients |
/recipeco2 |
GET POST |
Retrieve recipe CO2 ranking and KG of CO2e per total recipe Upload recipe CO2 ranking and KG of CO2e per total recipe |
Export API: Use these requests to retrieve data.
URL (base endpoint URL + the following) |
Supported Verbs |
Resource Description |
/ingredients/{guid}/supplierspec |
GET |
Retrieve a particular ingredient, its KG of CO2e per KG value and its country of origin |
/ingredients/customfields |
GET |
Retrieve a list of ingredients and their custom field values |
ingredients/{guid}/customfields |
GET |
Retrieve a particular ingredient and its custom field values |
/recipes |
GET |
Retrieve a list of recipes with their recipe CO2 values - ranking and KG of CO2e per total recipe |
For detailed guidance, go to:
Recipe & Menu Engineering (StarChef) Export API | Fourth
Recipe & Menu Engineering (StarChef) Import API | Fourth
Comments
0 comments
Please sign in to leave a comment.