Refine candidate roles for a task id
post
/oiri/api/v1/tasks/{taskId}/candidate-roles/{candidateRoleId}/refine-coverage
Request
Path Parameters
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : schema
Type:
integer
Examples
The following example shows how to update all candidate roles.
curl -X PATCH\ -H "Accept: application/json"\ -H "Content-Type: application/json"\ -H "Authorization: Bearer $token"\ "http://localhost:port/oiri/api/v1/tasks/{taskId}/candidate-roles/2c1edfd520e44cce8fadf04c4c8da4b2" -d
Example of the Request Body
The following is an example of the request body in JSON format.
{ "id":"2c1edfd520e44cce8fadf04c4c8da4b2", "name":"Sample Candidate Role" }
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" }