Update Employee Roles

post

/config/sim/v1/employees/updateRoles

Updates the role assigned to the Employee at the specified hierarchy unit. If Employee role is not found, it assigns a new Employee role

Request

Supported Media Types
Header Parameters
Body ()
Employee Role Object
Root Schema : EmployeeRole
Type: object
Model for an Employee Role Object
Show Source
Nested Schema : HierUnitNameTranslatedString
Type: object
A string that contains translations of hierarchy unit name into multiple languages
Example:
{
    "en-US":"Property",
    "de-DE":"Eigentum",
    "ar-AR":"??????????"
}
Nested Schema : RoleNameTranslatedString
Type: object
A string that contains translations of employee role name into multiple languages
Example:
{
    "en-US":"Cashier",
    "de-DE":"Kassierer",
    "ar-AR":"???????? ??????????????"
}
Back to Top

Response

Supported Media Types

200 Response

Employee Role object of the organization.
Body ()
Root Schema : EmployeeRoleResponse
Type: object
Model of response object
Show Source

400 Response

400 Bad Request
Body ()
Root Schema : ErrorDetails
Type: object
Response body when the request returns an error.
Show Source
Back to Top