Create Households Mealplans Random
create_households_mealplans_randomGenerates a random meal for a household meal plan, applying the household's meal plan settings to choose an entry type for a specific date. If no settings exist, picks any random meal to fill the plan.
Instructions
create_random_meal is a route that provides the randomized functionality for meal planners.
It operates by following the rules set out in the household's meal plan settings. If no settings
are set, it will return any random meal.
Refer to the meal plan settings routes for more information on how rules can be applied to the random meal selector.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| entryType | No | ||
| accept-language | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||