Update Allergen Names
post
/config/sim/v2/menuItems/updateAllergenNames
Updates Allergen Names
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Allergen Names update request body
Root Schema : schema
Type:
object
Model for Allergen Name Object Update Request
Show Source
-
allergenCode(required):
string
Allergen Code. It should be unique for any allergen and maximum allowed length of string is 128.Example:
Apple
-
allergenId(required):
integer
Allergen IdExample:
364
-
hierUnitId(required):
integer
Unique reference of the hierarchy unit where the allergen is configured.Example:
3599
-
name(required):
object name
Allergen Name
Nested Schema : name
Type:
object
Allergen Name
Example:
{
"1":"Apple",
"2":"Pomme",
"3":"Manzana"
}
Response
Supported Media Types
- application/json
200 Response
Update operation executed successfully.