Get an existing candidate role by Id
get
/oiri/api/v1/tasks/{taskId}/candidate-roles/{candidateRoleId}
Request
Path Parameters
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
OK
Root Schema : CandidateRoleDTO
Type:
Show Source
object
-
applicationCount(optional):
integer
-
clusterId(optional):
integer
-
confidence(optional):
number
-
createdBy(optional):
string
-
createdDate(optional):
string
-
description(optional):
string
-
entitlementCount(optional):
integer
-
entitlementCoverage(optional):
integer
-
id(optional):
string
-
jobId(optional):
string
-
lastModifiedDate(optional):
string
-
misAlignedEntitlementCount(optional):
integer
-
misAlignedUserCount(optional):
integer
-
name(optional):
string
-
status(optional):
string
-
totalEntitlementCount(optional):
integer
-
totalUserCount(optional):
integer
-
userCount(optional):
integer
-
userCoverage(optional):
integer
Examples
The following example shows how to get an existing candidate role by ID.
curl -X GET\ -H "Accept: application/json"\ -H "Authorization: Bearer $token"\ "http://localhost:port/oiri/api/v1/tasks/11cc57a41eaf48dfab2758f3bc2ad570/candidate-roles/2c1edfd520e44cce8fadf04c4c8da4b2/"
Example of the Response Body
The following is an example of the response body in JSON format.
{ "id": "2c1edfd520e44cce8fadf04c4c8da4b2", "name": "Sample Candidate Role", "description": "Ab_ Candidate Role for the Cluster : 1", "jobId": "11cc57a41eaf48dfab2758f3bc2ad570", "clusterId": 1, "status": "INPROGRESS", "userCount": 1, "entitlementCount": 9, "applicationCount": 1, "totalUserCount": 1, "totalEntitlementCount": 9, "misAlignedUserCount": 0, "misAlignedEntitlementCount": 0, "userCoverage": 50, "entitlementCoverage": 50, "confidence": 100, "createdDate": "2021-04-22T12:43:06.721+00:00", "createdBy": "RFROST", "lastModifiedDate": "2021-04-22T12:51:48.485+00:00" }