Add Employee Roles
post
/config/sim/v1/employees/employeeRoles
Assign a role to an Employee at the specified hierarchy unit .
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Employee Role Insert Request body
Root Schema : schema
Type:
object
Model for an Employee Role Insert 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
-
roleObjNum(required):
integer
The object number of the role assigned to the employeeExample:
1000
Response
Supported Media Types
- application/json
200 Response
Employee Role Added.
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