Insert Menu Item Definition Default Condiments
post
/config/sim/v1/menuItems/menuitemdefinition/defaultcondiments
Add a default condiment to a specified menu item definition 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
Root Schema : defaultcondiment
Type:
object
Model for a Default Condiment Object
Show Source
-
condimentSetName(optional):
object TranslatedString_MenuItemMasterName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the menu item master assigned to the condiment item in configured languages
-
condimentSetObjNum(optional):
integer
Object number of the Condiment Set items that are to be assigned as the default condiments when the associated Menu Item is ordered.Example:
1
-
defaultCondId(optional):
integer
Example:
1
-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
1
-
hierUnitName(optional):
object TranslatedStringHierUnitName
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
-
miDefSequence:
integer
Sequence number of the menu item definition to which the condiments are associatedExample:
1
-
miMstrObjNum:
integer
Object Number of the menu item master for which the condiments are associated.Example:
1
-
options(optional):
string
A string value of 0???s & 1???s representing the enablement or disablement of the options associated with the condiment set associated with the menu itemExample:
00000000
-
optionsExt(optional):
object defaultcondiment_optionsExt
-
sortGroup(optional):
integer
Sort Group number for the Condiment Set.Example:
1
Nested Schema : TranslatedString_MenuItemMasterName
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the menu item master assigned to the condiment item in configured languages
Example:
{
"en-US":"Condiment Set Items",
"es-SS":"Empresa",
"lt=LT":"??mon??"
}
Nested Schema : TranslatedStringHierUnitName
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":"Enterprise",
"de-DE":".....",
"ar-AR":"....."
}
Nested Schema : defaultcondiment_optionsExt
Type:
Show Source
object
-
chargeForEntireSalesCount(optional):
boolean
A Boolean flag indicating to charge for the guests for entire condiment countExample:
false
-
displayWhenInDefaultState(optional):
boolean
A Boolean flag indicating to display the condiments in default stateExample:
false
Response
Supported Media Types
- application/json
200 Response
default condiments response
Root Schema : DefaultCondimentResponse
Type:
Show Source
object
-
defaultCondId:
integer
Example:
1
-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
1
-
miDefSequence:
integer
Sequence number of the menu item definition to which the condiments are associatedExample:
1
-
miMstrObjNum:
integer
Object Number of the menu item master for which the condiments are associated.Example:
1
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
404 Response
404 Requested resource not found