šŸ”µ Create a manual intake (without image-based prediction) and assign it to a set of specific APIUsers.

[NOTE] This endpoint is DEPRECATED. We recommend using the endpoint POST /intake/manualInput/bulkAssign instead.

Ā 

Endpoint callable by APIUserManager only.

Ā 

Creates a manual intake consisting of a consumed dish or a list of consumed food groups, without using an image-based prediction. This is an alternative to the /recognition endpoints. This endpoint can be used to add an intake without the need of an image nor applying the recognition process. The manual intake can be assigned simultaneously to multiple APIUsers.

Ā 

You must provide either the parameter 'class_ids' or the parameter 'food_group_ids', but never both.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Parameters to create a manual dish.

api_user_ids
array of integers
required
api_user_ids*
string

Timestamp that will be assigned to the image. It will take into account the user's timezone. Following the format '%Y/%m/%d, %H:%M:%S'. If this is not provided it will be set to the current time as default.

class_ids
array of integers

A list of general class ids provided by /getAllClasses. If a list has multiple elements then it will be considered that it is a combo dish.

class_ids
food_group_ids
array of integers

A list of food group ids.

food_group_ids
Responses

401

Unauthorized, invalid token.

403

Forbidden

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json