Add the security role for an employee

The purpose of this API is to add a security role for an employee through the Roles tab of the Manage Employees page.

Request Object

security_role Object

NameTypeDescription
idguidSecurity role id of the employee
namestringSecurity profile name of the employee

view Object

NameTypeDescription
idguidId of the center, organization, or zone with which the employee is associated.
namestringName of the center, organization, or the zone with which the employee is associated.
typeenumCenter - 2, Zone - 1, Organization - 0
Language
Credentials
Header
Click Try It! to start a request and see the response here!