Add Menu Levels
post
/config/sim/v1/setup/menulevels
Add the Menu Level object to a specified hierarchy unit of specified organization
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
-
Simphony-OrgShortName: string
The ShortName of the organization
Request body
Root Schema : MenuLevel
Type:
objectModel for Menu Level for an organization
Show Source
-
defaultMIMstrGrpName(optional):
object TranslatedString
Additional Properties Allowed: additionalPropertiesA string that contains translations into multiple languages **Example** `{ "en-US": "coffee", "de-DE": "kaffee", "ar-AR": "????????" }`
-
defaultMIMstrGrpObjNum(optional):
integer
Object number of default menu item master group associated with the Menu Level.Example:
1 -
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
1 -
hierUnitName(optional):
object TranslatedString
Additional Properties Allowed: additionalPropertiesA string that contains translations into multiple languages **Example** `{ "en-US": "coffee", "de-DE": "kaffee", "ar-AR": "????????" }`
-
hierUnitObjNum(optional):
integer
Object number of the hierarchy unitExample:
1 - menuLevelEntries(optional): array menuLevelEntries
- menuLevelType(optional): string
-
name:
object TranslatedString
Additional Properties Allowed: additionalPropertiesA string that contains translations into multiple languages **Example** `{ "en-US": "coffee", "de-DE": "kaffee", "ar-AR": "????????" }`
-
objectNum:
integer
Object number the menu levelExample:
1 -
options(optional):
string
A string value of 0s and 1s representing the enablement or disablement of the options associated.Example:
10000000 -
optionsExt(optional):
object MenuLevel_optionsExt
An object containing the descriptive options list associated with the Menu Level
Nested Schema : TranslatedString
Type:
objectAdditional Properties Allowed
Show Source
A string that contains translations into multiple languages
**Example**
`{ "en-US": "coffee", "de-DE": "kaffee", "ar-AR": "????????" }`
Example:
{
"en-US":"Coffee",
"de-DE":"Kaffee",
"ar-AR":"????????"
}Nested Schema : MenuLevel_optionsExt
Type:
objectAn object containing the descriptive options list associated with the Menu Level
Show Source
-
enableBoundToParent(optional):
boolean
Select to change to default menu level when a workstation operator presses a touchscreen button corresponding to any menu level in this Menu Level Set again to turn off the level.Example:
false -
enableRevertToDefaultLevelOnKeyPress(optional):
boolean
Select to switch the active parent menu item when the active menu level changes.Example:
false
Response
Supported Media Types
- application/json
200 Response
Menu Level Response
Root Schema : MenuLevelResponse
Type:
Show Source
object-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
1 -
objectNum:
integer
Object number the menu levelExample:
1
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
objectResponse body when the request returns an error.
Show Source
-
detail(optional):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid -
errorDetails(optional):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist -
o:errorCode(optional):
integer
Error code of the problemExample:
55223 -
status(optional):
integer
HTTP status code.Example:
400 -
title(optional):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR -
type(optional):
string
A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".Example:
http://www.abc.org/xyz.html