I'm trying to log Meal Entry using Jawbone API. In API documentation described sub_type parameter which is responsible for Meal Type (breakfast/lunch/dinner). However it looks like this parameter doesn't control anything and everything is controlled by time_created/tz parameters. Could anyone help me to understand exact logic responsible for where Logged Meal goes - Breakfast/Lunch/Dinner/Snack.
update 20/09/2016
I'd like to be able to log Meal(as Breakfast/Dinner/Lunch or Snack) and see result in user feed as Breakfast/Dinner/Lunch or Snack (https://jawbone.com/up/food/meals). For now I'm interested only in these 4 Meal Types because of compatibility with our app.
I've found that it can be achieved by specifying time_created = (${begin_of_the_day} + mealTypeAdjustment), where mealTypeAdjustment=
-7h for Breakfast
-13h for Lunch
-19h for Dinner
these numbers are just my assumption which work so far. But there is no Jawbone documentation about this logic so my questions:
1) how can I controll using time_created, where logged Meal appears in user feed(Breakfast/Dinner/Lunch or Snack)?
2) I still didn't get how to log Snack. Few times I was able to do it by randomizing input parameters but unfortunately I can't reproduce it now.