Add Nutrient
post
/config/sim/v2/menuItems/nutrientSets/nutrients
Adds a nutrient to the nutrient set
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Nutrient insert request body.
Root Schema : schema
Type:
Show Source
object
-
hierUnitId(required):
integer
Unique reference of the hierarchy unit. Only Enterprise hierarchy is allowed.Example:
3599
-
nutrientSetObjNum(required):
integer
Object number of the nutrient set.Example:
50
-
nutritionNameObjNum:
integer
Default Value:
0
Object number of the nutrition name.Example:8
-
quantity:
integer
Default Value:
0
quantity of the nutrient.Example:10
-
unitOfMeasure:
integer
Minimum Value:
1
Maximum Value:4
Default Value:1
An integer representing the unit of measurement for quantity. Acceptable values range from 1 to 4 (both inclusive).Unit Of Measurement Description 1 Calories 2 KiloJoules 3 Grams 4 Milligrams Example:2
Response
Supported Media Types
- application/json
200 Response
Nutrient inserted.