Get Roles
post
/config/sim/v1/getRoles
Gets all the roles
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-OrgShortName: string
The ShortName of the organization
Roles Get Request Body
Root Schema : RolesGetRequestBody
Type:
Show Source
object-
include(optional):
string
Example:
locations -
languages(optional):
string
If specified, limits translated strings returned.Example:
en-US, es-SS,lt-LT -
limit(optional):
integer
Number of results returned in this page. Not required if paging parameters are not supported.Example:
10 -
offset(optional):
integer
Starting resource record index. Not required if paging parameters are not supportedExample:
2 -
orderBy(optional):
string
Sorts the response by the specified field name and sort order.Example:
items.objectNum:asc -
searchCriteria(optional):
string
Search criteria to filter results based on field valueExample:
where equals(active,1)
Response
Supported Media Types
- application/json
200 Response
A collection of Report Groups objects of the organization
Root Schema : RolesGetResponse
Type:
Show Source
object-
count(optional):
integer
Current response recount count.Example:
9 -
hasMore(optional):
boolean
Flag indicating if there are more objects to fetch.Example:
true -
items(optional):
array items
Array of role objects of the organization.
-
limit(optional):
integer
Server page sizeExample:
10 -
offset(optional):
integer
Starting resource record indexExample:
0 -
totalResults(optional):
integer
Total number of rows (excluding the paging parameters)Example:
100
Nested Schema : items
Type:
arrayArray of role objects of the organization.
Show Source
-
Array of:
object RolesResourceObject
Model for Roles Object
Nested Schema : RolesResourceObject
Type:
objectModel for Roles Object
Show Source
-
actions(optional):
array actions
An array of privileges for access to EMC modules by the role
-
comment(optional):
string
Description of the role in no more than 2000 charactersExample:
Comment -
dataExtentions(optional):
array dataExtentions
An array of privileges for access to EMC modules by the role
-
emcControlLevel(optional):
integer
Security Level of the role.Example:
0 -
emcModules(optional):
array emcModules
An array of privileges for access to EMC modules by the role
-
enableRVCLevelSecurity(optional):
boolean
A Boolean flag to restrict employees with this role to perform workstation operations only in revenue centers in which they are an operator.Example:
false -
fields(optional):
array fields
An array of privileges for access to EMC modules by the role
-
hierUnitId(optional):
integer
unique hierarchy unit valueExample:
1 -
name:
object name
A group of strings representing the name of the role
-
objectNum:
integer
Object Number of the Role.Example:
1 -
operations(optional):
array operations
An array of privileges for access to EMC modules by the role
-
visibility(optional):
array visibility
An array of privileges for access to EMC modules by the role
Nested Schema : actions
Type:
arrayAn array of privileges for access to EMC modules by the role
Show Source
Nested Schema : dataExtentions
Type:
arrayAn array of privileges for access to EMC modules by the role
Show Source
Nested Schema : emcModules
Type:
arrayAn array of privileges for access to EMC modules by the role
Show Source
Nested Schema : fields
Type:
arrayAn array of privileges for access to EMC modules by the role
Show Source
Nested Schema : name
Type:
objectA group of strings representing the name of the role
Example:
{
"en-US":"Routing Group",
"de-DE":"Routing-Gruppe"
}Nested Schema : operations
Type:
arrayAn array of privileges for access to EMC modules by the role
Show Source
Nested Schema : visibility
Type:
arrayAn array of privileges for access to EMC modules by the role
Show Source
Nested Schema : Role_actions
Type:
Show Source
object-
enable(optional):
boolean
A Boolean flag representing the enablement of the action for the role???s usersExample:
false -
name(optional):
string
The name of the actionExample:
key action -
privilegeNum(optional):
integer
A unique reference of the privilege associated with the actionExample:
3
Nested Schema : Role_dataExtentions
Type:
Show Source
object-
columnName(optional):
string
Name of the extention fieldExample:
Name of the extention field -
value(optional):
string
Value of the extention fieldExample:
Value 1
Nested Schema : Role_emcModule
Type:
Show Source
object-
moduleName(optional):
string
The name of the EMC moduleExample:
Global Access -
moduleNum(optional):
integer
The unique reference of the EMC moduleExample:
1 -
privileges(optional):
string
A string value of 0???s & 1???s representing the enablement or disablement of the privileges associated with the EMC module???s access associated with the roleExample:
00000000 -
privilegesExt(optional):
object Role_emcModule_privilegesExt
An object containing the descriptive options list associated with the EMC module???s access associated with the role
Nested Schema : Role_emcModule_privilegesExt
Type:
objectAn object containing the descriptive options list associated with the EMC module???s access associated with the role
Show Source
-
add(optional):
boolean
A Boolean flag to allow the addition of records of the EMC module for the role???s usersExample:
false -
addOverride(optional):
boolean
A Boolean flag representing to allow override of records of the EMC module for the role???s usersExample:
false -
allowDuplicateName(optional):
boolean
A Boolean flag representing to allow duplicate names in records for the EMC module for the role???s usersExample:
false -
allowDuplicateObjNum(optional):
boolean
A Boolean flag representing to allow duplicate object numbers in records for the EMC module for the role???s usersExample:
false -
delete(optional):
boolean
A Boolean flag representing the enablement of the delete records of the EMC module for the role???s usersExample:
true -
edit(optional):
boolean
A Boolean flag to allow the editing of records of the EMC module for the role???s usersExample:
true -
fieldLevelSecurity(optional):
boolean
A Boolean flag representing the enablement of the field level security for the EMC module for the role???s usersExample:
false -
view(optional):
boolean
A Boolean flag to allow the viewing of records of the EMC module for the role???s usersExample:
true
Nested Schema : Role_fields
Type:
Show Source
object-
controls(optional):
array controls
An array of controls for each EMC module
-
moduleName(optional):
string
moduleName Name of the EMC module.Example:
Menu Item Masters -
moduleNum(optional):
integer
Unique reference of the moduleExample:
1
Nested Schema : Role_fields_controls
Type:
Show Source
object-
controlName(optional):
string
Name of the field controlExample:
Global Access -
controlNum(optional):
integer
Unique reference of the field controlExample:
1 -
privileges(optional):
string
A string value of 0???s & 1???s representing the enablement or disablement of the privileges associated with the field controlExample:
00000000 -
privilegesExt(optional):
object Role_controls_privilegesExt
An object containing the descriptive options list associated with the EMC module???s access associated with the role
Nested Schema : Role_controls_privilegesExt
Type:
objectAn object containing the descriptive options list associated with the EMC module???s access associated with the role
Show Source
-
editable(optional):
boolean
A Boolean flag indicating the field is editableExample:
true -
exclude(optional):
boolean
A Boolean flag indicating if the field is excluded.Example:
false -
viewOnly(optional):
boolean
A Boolean flag indicating the field is only for ViewingExample:
true
Nested Schema : Role_operations
Type:
Show Source
object-
enable(optional):
boolean
A Boolean flag representing the enablement of the operation for the role???s usersExample:
false -
name(optional):
string
The name of the operationExample:
key action -
privilegeNum(optional):
integer
A unique reference of the privilege associated with the operationExample:
3
Nested Schema : Role_visibility
Type:
Show Source
object-
hierUnitId(optional):
integer
Unique hierarchy unit value.Example:
1 -
hierUnitName(optional):
object TranslatedString_HierUnitName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the hierarchy unit configured languages
-
hierUnitObjNum(optional):
integer
Hierarchy unit object numberExample:
1
Nested Schema : TranslatedString_HierUnitName
Type:
objectAdditional Properties Allowed
Show Source
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
"en-US":"Enterprise",
"es-SS":"Empresa",
"lt=LT":"??mon??"
}400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
objectResponse body when the request returns an error.
Show Source
-
detail(optional):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid -
errorDetails(optional):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist -
o:errorCode(optional):
integer
Error code of the problemExample:
55223 -
status(optional):
integer
HTTP status code.Example:
400 -
title(optional):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR -
type(optional):
string
A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".Example:
http://www.abc.org/xyz.html
404 Response
404 Requested resource not found