Get Roles

post

/config/sim/v1/employees/getRoles

Gets all the roles

Request

Supported Media Types
Body ()
Roles Get Request Body
Root Schema : RolesGetRequestBody
Type: object
Show Source
  • Example: locations
  • 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 translated strings returned.
    Example: en-US, de-DE, es-MX
  • Number of results returned in this page. Not required if paging parameters are not supported.
    Example: 10
  • Starting resource record index. Not required if paging parameters are not supported
    Example: 2
  • 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(active,1)
Back to Top

Response

Supported Media Types

200 Response

A collection of Report Groups objects of the organization
Body ()
Root Schema : RolesGetResponse
Type: object
Show Source
Nested Schema : items
Type: array
Array of role objects of the organization.
Show Source
Nested Schema : RolesResourceObject
Type: object
Model for Roles Object
Show Source
Nested Schema : actions
Type: array
An array of privileges for access to EMC modules by the role
Show Source
Nested Schema : dataExtentions
Type: array
An array of privileges for access to EMC modules by the role
Show Source
Nested Schema : emcModules
Type: array
An array of privileges for access to EMC modules by the role
Show Source
Nested Schema : fields
Type: array
An array of privileges for access to EMC modules by the role
Show Source
Nested Schema : flmModules
Type: array
An array of privileges for access to FLM modules by the role
Show Source
Nested Schema : name
Type: object
A group of strings representing the name of the role
Example:
{
    "en-US":"Routing Group",
    "de-DE":"Routing-Gruppe"
}
Nested Schema : operations
Type: array
An array of privileges for access to EMC modules by the role
Show Source
Nested Schema : visibility
Type: array
An array of privileges for access to EMC modules by the role
Show Source
Nested Schema : Role_actions
Type: object
Show Source
  • A Boolean flag representing the enablement of the action for the role???s users
    Example: false
  • The name of the action
    Example: key action
  • A unique reference of the privilege associated with the action
    Example: 3
Nested Schema : Role_dataExtentions
Type: object
Show Source
Nested Schema : Role_emcModule
Type: object
Show Source
Nested Schema : Role_emcModule_privilegesExt
Type: object
An object containing the descriptive options list associated with the EMC module???s access associated with the role
Show Source
  • A Boolean flag to allow the addition of records of the EMC module for the role???s users
    Example: false
  • A Boolean flag representing to allow override of records of the EMC module for the role???s users
    Example: false
  • A Boolean flag representing to allow duplicate names in records for the EMC module for the role???s users
    Example: false
  • A Boolean flag representing to allow duplicate object numbers in records for the EMC module for the role???s users
    Example: false
  • A Boolean flag representing the enablement of the delete records of the EMC module for the role???s users
    Example: true
  • A Boolean flag to allow the editing of records of the EMC module for the role???s users
    Example: true
  • A Boolean flag representing the enablement of the field level security for the EMC module for the role???s users
    Example: false
  • A Boolean flag to allow the viewing of records of the EMC module for the role???s users
    Example: true
Nested Schema : Role_fields
Type: object
Show Source
Nested Schema : controls
Type: array
An array of controls for each EMC module
Show Source
Nested Schema : Role_fields_controls
Type: object
Show Source
Nested Schema : Role_controls_privilegesExt
Type: object
An object containing the descriptive options list associated with the EMC module???s access associated with the role
Show Source
Nested Schema : Role_flmModule
Type: object
Show Source
  • The name of the FLM module
    Example: Global Access
  • The unique reference of the FLM module
    Example: 1
  • A string value of 0s & 1s of length 11 representing the enablement or disablement of the privileges associated with the FLM module???s access associated with the role. Bit positions 1, 2, 3, 4 and 8 represent view, edit, add, delete and addOverride respectively.
    Example: 11110001000
  • Role_flmModule_privilegesExt
    An object containing the descriptive options list associated with the FLM module???s access associated with the role
Nested Schema : Role_flmModule_privilegesExt
Type: object
An object containing the descriptive options list associated with the FLM module???s access associated with the role
Show Source
  • A Boolean flag to allow the addition of records of the FLM module for the role???s users
    Example: false
  • A Boolean flag representing to allow override of records of the FLM module for the role???s users
    Example: false
  • A Boolean flag representing the enablement of the delete records of the FLM module for the role???s users
    Example: true
  • A Boolean flag to allow the editing of records of the FLM module for the role???s users
    Example: true
  • A Boolean flag to allow the viewing of records of the FLM module for the role???s users
    Example: true
Nested Schema : Role_operations
Type: object
Show Source
  • A Boolean flag representing the enablement of the operation for the role???s users
    Example: false
  • The name of the operation
    Example: key action
  • A unique reference of the privilege associated with the operation
    Example: 3
Nested Schema : Role_visibility
Type: object
Show Source
Nested Schema : TranslatedString_HierUnitName
Type: object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
    "en-US":"Enterprise",
    "de-DE":"Unternehmen",
    "es-MX":"Empresa"
}

400 Response

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

404 Response

404 Requested resource not found
Back to Top