Add Allergen Classes
post
/config/sim/v2/menuItems/allergenClasses
Adds the Allergen Class.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Allergen Classes insert and update request body
Root Schema : schema
Type:
Show Source
object
-
allergenCodes:
string
Allergen Codes listed as comma-separated values for an Allergen Class.Example:
Milk,Eggs,Fish
-
hierUnitId(required):
integer
Hier Unit Id of the EnterpriseExample:
7
-
name(required):
object name
Name of the Allergen Class.
-
objectNum(required):
integer
Object Number of the Allergen Class.Example:
2
Nested Schema : name
Type:
object
Name of the Allergen Class.
Example:
{
"1":"Entp",
"2":"AllergenClass",
"3":"Emp"
}
Response
Supported Media Types
- application/json
200 Response
Allergen Class Added.