List misaligned entitlements in a candidate role
get
/oiri/api/v1/tasks/{taskId}/candidate-roles/{candidateRoleId}/misaligned-entitlements
Request
Path Parameters
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
200 Response
OK
Examples
The following example shows how to list misaligned entitlements 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-entitlements"
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": [
{
"entitlementKey": "G206",
"entitlementDisplayName": "Users",
"applicationName": "JIRA",
"usage": null,
"misalignedCount": 1,
"extEntitlementId": null
},
{
"entitlementKey": "G184",
"entitlementDisplayName": "Thosiba",
"applicationName": "Corp Laptop",
"usage": null,
"misalignedCount": 1,
"extEntitlementId": null
},
{
"entitlementKey": "G202",
"entitlementDisplayName": "Guest",
"applicationName": "Orahub",
"usage": null,
"misalignedCount": 2,
"extEntitlementId": null
},
{
"entitlementKey": "G142",
"entitlementDisplayName": "CN=adbienta12,OU=grps,OU=robert_bi_test,DC=host123,DC=us,DC=example,DC=com",
"applicationName": "BoKS_QA_latest",
"usage": null,
"misalignedCount": 1,
"extEntitlementId": null
},
{
"entitlementKey": "G141",
"entitlementDisplayName": "CN=adbienta11,OU=grps,OU=robert_bi_test,DC=host123,DC=us,DC=example,DC=com",
"applicationName": "BoKS_QA_latest",
"usage": null,
"misalignedCount": 1,
"extEntitlementId": null
}
]
}