Update Employee Roles
post
/config/sim/v1/employees/updateEmployeeRoles
Updates the employee role record with the unique roleEmployeeId provided. If no record exits for given roleEmployeeId, it throws a validation error.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Employee Role Update Request body
Root Schema : schema
Type:
object
Model for an Employee Role Update Request body.
Show Source
-
hierUnitId(required):
integer
Unique reference of the hierarchy unit where the employee role is configuredExample:
3599
-
objectNum(required):
integer
Unique reference of the employee in the system.Example:
1
-
roleEmployeeId(required):
integer
Unique reference of Employee Role AssociationExample:
1
-
roleObjNum(required):
integer
The object number of the role assigned to the employeeExample:
1000
Response
Supported Media Types
- application/json
200 Response
Employee Role Updated.
Root Schema : EmployeeRoleResponse
Type:
object
Model for Employee Role Insert and Update Response Body
Show Source
-
hierUnitId:
integer
Unique reference of the hierarchy unit where the employee role is configuredExample:
3599
-
objectNum:
integer
Unique reference of the employee in the system.Example:
1
-
roleEmployeeId:
integer
Unique reference of Employee Role AssociationExample:
1
-
roleObjNum:
integer
The object number of the role assigned to the employeeExample:
1000