Update Roles

post

/config/sim/v1/employees/updateRoles

Updates the role. If role is not found, it creates a new role.

Request

Supported Media Types
Body ()
Roles Resource Object
Root Schema : RolesCURequestBody
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_actionsCU
Type: object
Show Source
  • A Boolean flag representing the enablement of the action for the role???s users
    Example: false
  • A unique reference of the privilege associated with the action
    Example: 3
Nested Schema : Role_dataExtentionsCU
Type: object
Show Source
Nested Schema : Role_emcModuleCU
Type: object
Show Source
  • The unique reference of the EMC module
    Example: 1
  • A string value of 0s & 1s of length 11 representing the enablement or disablement of the privileges associated with the EMC module???s access associated with the role
    Example: 00000000000
Nested Schema : Role_fieldsCU
Type: object
Show Source
Nested Schema : controls
Type: array
An array of controls for each EMC module
Show Source
Nested Schema : Role_fields_controlsCU
Type: object
Show Source
  • Name of the field control
    Example: Global Access
  • A string value of 0???s & 1???s representing the enablement or disablement of the privileges associated with the field control
    Example: 00000000
Nested Schema : Role_flmModuleCU
Type: object
Show Source
  • 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
Nested Schema : Role_operationsCU
Type: object
Show Source
  • A Boolean flag representing the enablement of the operation for the role???s users
    Example: false
  • A unique reference of the privilege associated with the operation
    Example: 3
Nested Schema : Role_visibilityCU
Type: object
Show Source
  • Unique hierarchy unit value.
    Example: 1
  • A Boolean flag to make the role visible in the selected zones/locations and all children. Deselect to make the role visible only in the selected zone/location
    Example: 1
Back to Top

Response

Supported Media Types

200 Response

response object
Body ()
Root Schema : RolesResponse
Type: 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