Name | Description | Type | Additional information |
---|---|---|---|
diet_id |
diet plan id from diet template |
integer |
Required |
meal_id |
meal id from diet plan |
integer |
Required |
diet_template_id |
diet template id |
integer |
Required |
meal_type_id |
selected meal type |
integer |
Required |
food_id |
selected food id |
integer |
Required |
alias_id |
food alias name id |
integer |
None. |
amount |
amount to eat |
decimal number |
Required |
units |
selected unit of food |
integer |
Required |
add_to_entire_plan |
add food to all days in template |
boolean |
None. |
food_time |
food time to eat |
decimal number |
Required |
food_time_min |
food time in string |
string |
None. |
food_filter |
food filter or category recipe, basic_food etc |
string |
None. |
comments |
any food specific comments |
string |
None. |
opt_meal_food_id |
optional meal foodid |
integer |
None. |
is_locked |
meals food update in diet plan. user will only see when is it not locked |
boolean |
None. |
meal_type_name |
name of meal incase add to entire plan is true. |
string |
None. |
diet_plan_ids |
list of diet plan ids to add food in multiple days |
Collection of integer |
None. |