Update Nutrient
post
/config/sim/v2/menuItems/nutrientSets/updateNutrients
Updates an existing nutrient in 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 update 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 -
nutrientSetNutrientId(required):
integer
Unique Id of the nutrient.Example:
101 -
nutritionNameObjNum:
integer
Default Value:
0Object number of the nutrition name.Example:8 -
quantity:
integer
Default Value:
0quantity of the nutrient.Example:10 -
unitOfMeasure:
integer
Minimum Value:
1Maximum Value:4Default Value:1An 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 updated.