v1
latestOpenAPI 3.1.02026-07-2422707.0 MBRetrieve security roles of an employee
The purpose of this API is to list all the security roles of an employee at all levels of the organization.
get/v1/employees/{employee_id}/security_roles?view_id={view_id}&view_type={view_type}
Path parameters
employee_idstring required
Employee id for whom the details are to be fetched.
Query parameters
view_idstring required
Id of the center, organization, or zone with which the employee is associated.
view_type'0' | '1' | '2' required
Choose any one of the following: Center - 2, Zone - 1, Organization - 0.
Response
200
object required