Get Employee Roles

post

/config/sim/v1/employees/getEmployeeRoles

Gets a list of all the roles associated with the given employee in the specified organization

Request

Supported Media Types
Body ()
Request body
Root Schema : schema
Type: object
The input Body model that needs to be given.
Show Source
  • Objects included in the response.
    Example: hierUnitId
  • This can take 2 values: basic or detailed. If 'basic' is specified, The response contains all the properties of the object except Ext values. If 'detailed' is specified, The response contains all the properties of the object.
    Example: detailed
  • If specified, limits the translated strings returned.
    Example: en-US, es-ES, es-MX
  • If using paging, number of results returned in this page.
    Example: 0
  • Object number of employee
    Example: 1
  • Starting resource record index. Not required if paging parameters are not supported.
    Example: 0
  • Sorts the response by the specified field name and sort order.
    Example: objectNum:asc
  • Search criteria to filter results based on field value.
    Example: where equals(objectNum,1)
Back to Top

Response

Supported Media Types

200 Response

A Collection of Employee Roles.
Body ()
Root Schema : EmployeeRoleGetResponsev1
Type: object
Show Source
Nested Schema : items
Type: array
Array of Employee Role objects of the organization.
Show Source
Nested Schema : EmployeeRolev1
Type: object
Model for an Employee Role Object
Show Source
Nested Schema : hierUnitName
Type: object
Hier Unit Name
Example:
{
    "en-US":"Property",
    "de-DE":"Eigentum",
    "es-MX":"Propiedad"
}
Nested Schema : roleName
Type: object
Role Name
Example:
{
    "en-US":"Cashier",
    "de-DE":"Kassierer",
    "es-MX":"Cajero"
}
Back to Top