List misaligned users in a candidate role
get
/oiri/api/v1/tasks/{taskId}/candidate-roles/{candidateRoleId}/misaligned-users
Request
Path Parameters
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
200 Response
OK
Nested Schema : UserDTO
Type:
Show Source
object
-
customAttributes(optional):
object customAttributes
-
departmentNumber(optional):
string
-
employeeNumber(optional):
string
-
employeeType(optional):
string
-
jobCode(optional):
string
-
managerDisplayName(optional):
string
-
managerName(optional):
string
-
misalignedCount(optional):
integer
-
organizationName(optional):
string
-
usage(optional):
number
-
userDisplayName(optional):
string
-
userKey(optional):
string
-
userName(optional):
string
Examples
The following example shows how to list misaligned users in a candidate role.
curl -X GET\ -H "Accept: application/json"\ -H "Content-Type: application/json"\ -H "Authorization: Bearer $token"\ "http://localhost:port/oiri/api/v1/tasks/70561adbfdd7474290b77d5903210c6b/candidate-roles/97d40d053dd74a45a6e944f45cbfae6a/misaligned-users"
Example of the Response Body
The following is an example of the response body in JSON format.
{ "limit": 5, "offset": 0, "recordCount": 5, "count": 5, "hasMore": false, "items": [ { "userKey": "G3004", "userName": "AMODI", "employeeType": "Consultant", "jobCode": "M10002", "managerName": "XELSYSADM", "organizationName": "Xellerate Users", "usage": null, "userDisplayName": "Amit Modi", "managerDisplayName": "System Administrator", "employeeNumber": "100041", "departmentNumber": "Sales", "misalignedCount": 1, "extUserId": "3004", "customAttributes": null }, { "userKey": "G3007", "userName": "KBUIZON", "employeeType": "Full-Time", "jobCode": "IC10003", "managerName": "XELSYSADM", "organizationName": "Xellerate Users", "usage": null, "userDisplayName": "Kevin Buizon", "managerDisplayName": "System Administrator", "employeeNumber": "100038", "departmentNumber": "Development", "misalignedCount": 1, "extUserId": "3007", "customAttributes": null }, { "userKey": "G3006", "userName": "KDADAY", "employeeType": "Consultant", "jobCode": "IC10003", "managerName": "XELSYSADM", "organizationName": "test1", "usage": null, "userDisplayName": "Karl Daday", "managerDisplayName": "System Administrator", "employeeNumber": "100039", "departmentNumber": "Development", "misalignedCount": 1, "extUserId": "3006", "customAttributes": null }, { "userKey": "G3009", "userName": "KDIAS", "employeeType": "Full-Time", "jobCode": "IC10004", "managerName": "XELSYSADM", "organizationName": "Xellerate Users", "usage": null, "userDisplayName": "Karl Dias", "managerDisplayName": "System Administrator", "employeeNumber": "100036", "departmentNumber": "Doc", "misalignedCount": 1, "extUserId": "3009", "customAttributes": null }, { "userKey": "G3001", "userName": "KRUCKER", "employeeType": "Consultant", "jobCode": "M10004", "managerName": "XELSYSADM", "organizationName": "Xellerate Users", "usage": null, "userDisplayName": "Kal Rucker", "managerDisplayName": "System Administrator", "employeeNumber": "100044", "departmentNumber": "PM", "misalignedCount": 2, "extUserId": "3001", "customAttributes": null } ] }