Get Menu Item Definition Default Condiments
post
/config/sim/v1/menuItems/menuitemdefinition/getdefaultcondiments
Get all the default condiments for the menu item definition of a hierarchy unit of the specified organization
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-OrgShortName: string
The ShortName of the organization
Request body
Root Schema : DefaultCondimentGetRequestBody
Type:
Show Source
object-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
1 -
include(optional):
string
Example:
locations -
languages(optional):
string
If specified, limits translated strings returned.Example:
en-US, es-SS,lt-LT -
limit(optional):
integer
Number of results returned in this page. Not required if paging parameters are not supported.Example:
10 -
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 -
offset(optional):
integer
Starting resource record index. Not required if paging parameters are not supportedExample:
2 -
orderBy(optional):
string
Sorts the response by the specified field name and sort order.Example:
comboMealGroups.objectNum -
searchCriteria(optional):
string
Search criteria to filter results based on field valueExample:
where equals(active,1)
Response
Supported Media Types
- application/json
200 Response
A collection of default condiments in organization.
Root Schema : defaultcondiment
Type:
objectModel 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:
objectAdditional 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:
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":"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
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
404 Response
404 Requested resource not found