Add Family Groups
post
/config/sim/v2/menuItems/familyGroups
Add the Family Group 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.
Request body
Root Schema : schema
Type:
objectModel for Family Group Object
Show Source
-
consumerDesc:
object consumerDesc
Consumer Description. Maximum length supported is 1024 characters.
-
consumerName:
object consumerName
Consumer Name
-
hierUnitId(required):
integer
Unique reference of the hierarchy unit of an EnterpriseExample:
2 -
images:
array images
An array of images associated with the family group
-
majorGrpObjNum:
integer
Object number of the major groupExample:
2 -
name(required):
object name
Family Group Name
-
objectNum(required):
integer
Object Number of the family groupExample:
1 -
reportGroup:
integer
Object number of the Report Group.Example:
1
Nested Schema : consumerDesc
Type:
objectConsumer Description. Maximum length supported is 1024 characters.
Example:
{
"1":"Enterprise",
"2":"Unternehmen",
"3":"Empresa"
}Nested Schema : consumerName
Type:
objectConsumer Name
Example:
{
"1":"Enterprise",
"2":"Unternehmen",
"3":"Empresa"
}Nested Schema : name
Type:
objectFamily Group Name
Example:
{
"1":"Enterprise",
"2":"Unternehmen",
"3":"Empresa"
}Nested Schema : FamilyGroup_image
Type:
Show Source
object-
altText:
string
The image alternative text of the family groupExample:
pizza -
description:
string
The description text of the family groupExample:
pizza description -
imageIndex:
integer
Image Number for reference. Values range from 1-10.Example:
1 -
isCloudImage:
boolean
Flag indicating if the image is stored on the CloudExample:
true -
size:
string
The size of the imageExample:
1 -
url:
string
The URL of the image of the family groupExample:
https://oracleObjectStore.com/images/coffee822815.jpg
Response
Supported Media Types
- application/json
200 Response
Family Group Added.