Add Menu Item Masters
post
/config/sim/v1/menuItems/menuItemMasters
Add the Menu Item Master object to a specified hierarchy unit .
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
Nested Schema : TranslatedString
Type:
object
Additional 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 : MenuItem_dataExtensions
Type:
Show Source
object
-
columnName(optional):
string
Name of the extention fieldExample:
extension column 1
-
value(optional):
string
Value of the extention fieldExample:
value 1
Nested Schema : MenuItem_dietaryLabels
Type:
Show Source
object
-
dietaryLabelName(optional):
string
Name of the dietary labelExample:
Dietary Label 1
-
dietaryLabelsObjNum(optional):
integer
Object number of the dietary labelExample:
1
Response
Supported Media Types
- application/json
200 Response
A response body for MenuItemMaster added
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
object
Response 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