Update Major Groups
post
/config/sim/v1/menuItems/updateMajorGroups
Updates the Major Group. If not found, it creates a new major group.
Release | Description |
---|---|
23.4 | Starting with the API release 23.4, Update operation for Major 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 : MajorGroupCUDRequestBody
Type:
Show Source
object
-
hierUnitId(required):
integer
Unique reference of the hierarchy unit of an EnterpriseExample:
1
-
name(required):
object name
Name
-
objectNum(required):
integer
Object Number of the major groupExample:
1
-
reportGroup:
integer
Object number of the Report Group.Example:
1
Nested Schema : name
Type:
object
Name
Example:
{
"en-US":"Coffee",
"de-DE":"Kaffee",
"es-MX":"Cafe"
}
Response
Supported Media Types
- application/json
200 Response
Major Groups Updated or Added.
Root Schema : MajorGroupResponse
Type:
Show Source
object
-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
2
-
objectNum:
integer
Object Number of the major groupExample:
1