Create Menu Cycle Schedule

Creates a new instance of a menu cycle schedule.

Courses and Recipes

Courses have an index number that indicates their position within the menu. These numbers must start from 0 and increase by 1 for each course.

The planned_recipes object is a dictionary with incremental index numbers as keys, representing the sequential week number within the cycle. These index numbers must be less than the cycle's duration_in_weeks. Below is the generic definition of this object:

{ 
  "$week_number": { 
    "$weekday": [
      { 
        "recipe": "$recipe_id", 
        "quantity_of_portions": "$quantity_of_portions"
      }
    ] 
  }
}

The valid weekday values that can be used for keys in the week object are the names of the days of the week in English: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.

To view a concrete example, select the pre-created example on the right-hand side of this page.

Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!