Get Employee Roles
post
/config/sim/v1/employees/getRoles
Gets a list of all the roles associated with the given employee in the specified organization
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-OrgShortName: string
The ShortName of the organization
Request body
Root Schema : EmployeeRoleBody
Type:
object
The input Body model that needs to be given.
Show Source
Response
Supported Media Types
- application/json
200 Response
A collection of associated roles of a particular employee in an organization.
Root Schema : EmployeeRole
Type:
object
Model for an Employee Role Object
Show Source
-
hierObjNum(optional):
integer
Object number of the hierarchy unit where the employee role is configuredExample:
26
-
hierUnitId:
integer
Unique reference of the hierarchy unit where the employee role is configuredExample:
3599
-
hierUnitName(optional):
object HierUnitNameTranslatedString
A string that contains translations of hierarchy unit name into multiple languages
-
objectNum:
integer
Unique reference of the employee in the system.Example:
1
-
roleEmployeeId:
integer
Unique reference of EmployeeExample:
1
-
roleName(optional):
object RoleNameTranslatedString
A string that contains translations of employee role name into multiple languages
-
roleObjNum:
integer
The object number of the employee roleExample:
1000
Nested Schema : HierUnitNameTranslatedString
Type:
object
A string that contains translations of hierarchy unit name into multiple languages
Example:
{
"en-US":"Property",
"de-DE":"Eigentum",
"ar-AR":"??????????"
}
Nested Schema : RoleNameTranslatedString
Type:
object
A string that contains translations of employee role name into multiple languages
Example:
{
"en-US":"Cashier",
"de-DE":"Kassierer",
"ar-AR":"???????? ??????????????"
}
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
object
Response 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