Add Family Groups
post
/config/sim/v1/menuItems/familyGroups
Add the Family Group object to a specified hierarchy unit.
Release | Description |
---|---|
23.4 | Starting with the API release 23.4, Insert operation for Family Groups is allowed only at Enterprise. |
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 : FamilyGroupCUDRequestBody
Type:
object
Model for Family Group Object
Show Source
-
consumerDesc:
object consumerDesc
Consumer Desc
-
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
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:
object
Consumer Desc
Example:
{
"en-US":"Family Group 1",
"de-DE":"Familiengruppe 1",
"es-MX":"Grupo Familiar 1"
}
Nested Schema : consumerName
Type:
object
Consumer Name
Example:
{
"en-US":"Family Group 1",
"de-DE":"Familiengruppe 1",
"es-MX":"Grupo Familiar 1"
}
Nested Schema : name
Type:
object
Name
Example:
{
"en-US":"Family Group 1",
"de-DE":"Familiengruppe 1",
"es-MX":"Grupo Familiar 1"
}
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 referenceExample:
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.
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