Add Allergen Names
post
/config/sim/v2/menuItems/allergenNames
Adds 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 insert request body
Root Schema : schema
Type:
object
Model for Allergen Name Object Insert 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
-
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
Insert operation executed successfully.