Update Family Groups
post
/config/sim/v1/menuItems/updateFamilygroups
Updates the Family Group. If family group is not found is not found, it creates a new family group.
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 : FamilyGroup
Type:
object
Model for Family Group Object
Show Source
-
consumerDesc(optional):
object TranslatedString_Name
A group of string objects representing the name of the tax in configured languages
-
consumerName(optional):
object TranslatedString_Name
A group of string objects representing the name of the tax in configured languages
-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
2
-
hierUnitName(optional):
object TranslatedString_HierUnitName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the hierarchy unit configured languages
-
hierUnitObjNum(optional):
integer
Object number of the hierarchy unitExample:
1
-
images(optional):
array images
An array of images associated with the menu item
-
majorGrpName(optional):
object TranslatedString_MajorGrpName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the major group in configured languages
-
majorGrpObjNum(optional):
integer
Object number of the major groupExample:
2
-
name:
object TranslatedString_Name
A group of string objects representing the name of the tax in configured languages
-
objectNum:
integer
Object Number of the family groupExample:
1
Nested Schema : TranslatedString_Name
Type:
object
A group of string objects representing the name of the tax in configured languages
Example:
{
"en-US":"Family Group 1",
"es-SS":"Grupo familiar 1",
"lt=LT":"1 ??eimos grup??"
}
Nested Schema : TranslatedString_HierUnitName
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
"en-US":"Enterprise",
"es-SS":"Empresa",
"lt=LT":"??mon??"
}
Nested Schema : TranslatedString_MajorGrpName
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the major group in configured languages
Example:
{
"en-US":"Major Group 1",
"es-SS":"Grupo principal 1",
"lt=LT":"1 pagrindin?? grup??"
}
Nested Schema : MenuItem_image
Type:
Show Source
object
-
altText(optional):
string
The image alternative text of the menu itemExample:
pizza
-
description(optional):
string
The description text of the menu itemExample:
pizza description
-
imageIndex(optional):
integer
Image Number for referenceExample:
1
-
isCloudImage(optional):
boolean
Flag indicating if the image is stored on the CloudExample:
true
-
size(optional):
string
The size of the imageExample:
1
-
url(optional):
string
The URL of the image of the menu itemExample:
https://oracleObjectStore.com/images/coffee822815.jpg
Response
Supported Media Types
- application/json
200 Response
Family Group Response
Root Schema : FamilyGroupResponse
Type:
Show Source
object
-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
2
-
objectNum:
integer
Object Number of the family groupExample:
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