Get Allergen Names
post
/config/sim/v2/menuItems/getAllergenNames
Gets Allergen Names
Request
Supported Media Types
- application/json
- multipart/form-data
Root Schema : schema
Type:
Show Source
object
-
include:
string
If specified, limits the data returned to these fields.Example:
hierUnitId, allergenCode
-
includeAll:
string
If this value is specified, the include parameter is ignored.
Value Description basic Forces the response to include all fields except option string details detailed Forces the response to include all fields including option string details Example:detailed
-
langIds:
string
If specified, limits translated strings returnedExample:
1,2,3
-
limit:
integer
If using paging, number of results returned in this page.Example:
100
-
offset:
integer
Starting resource record index. Not required if paging parameters are not supportedExample:
0
-
orderBy:
string
Sorts the response by the specified field name and sort order. Allowed field is allergenCode.Example:
allergenCode:asc
-
searchCriteria:
string
If specified, returns records that match the criteria. Allowed field is allergenCode.Example:
where equals(allergenCode, 'Beef')
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : AllergenName
Type:
object
Allergen Name record
Show Source
-
allergenCode:
string
Allergen Code. It should be unique for any allergen.Example:
Apple
-
allergenId:
integer
Allergen IdExample:
364
-
hierUnitId:
integer
Unique reference of the hierarchy unit where the allergen is configured.Example:
3599
-
name:
object name
Allergen Name
Nested Schema : name
Type:
object
Allergen Name
Example:
{
"1":"Apple",
"2":"Pomme",
"3":"Manzana"
}