List published candidate roles
post
/oiri/api/v1/published-candidate-role/.search
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
200 Response
OK
Nested Schema : items
Type:
objectExamples
The following example shows how to list published candidate roles.
curl -X POST\ -H "Accept: application/json"\ -H "Content-Type: application/json"\ -H "Authorization: Bearer $token"\ "http://localhost:port/oiri/api/v1/published-candidate-role/.search" -d
Example of the Request Body
The following is an example of the request body in JSON format.
{"page":
{"offset":0,
"limit":10},
"sort":
{"sortBy":"name",
"sortOrder":"ASC"}
}
Example of the Response Body
The following is anexample of the response body in JSON format.
10,
"offset": 0,
"recordCount": 2,
"count": 2,
"hasMore": false,
"items": [
{
"id": "32512c4890454e8b93075b246a5df5fd",
"name": "Sample Candidate Role",
"description": "Sample Candidate Role",
"jobId": "11cc57a41eaf48dfab2758f3bc2ad570",
"clusterId": 1,
"candidateRoleId": "2c1edfd520e44cce8fadf04c4c8da4b2",
"status": "PUBLISHED",
"requestKey": "-1",
"userCount": 1,
"entitlementCount": 9,
"applicationCount": 1,
"userCoverage": 50,
"entitlementCoverage": 50,
"createdDate": "2021-04-23T07:24:10.709+00:00",
"createdBy": "RFROST",
"lastModifiedDate": null
},
{
"id": "5eb8bfd7fd1c4ba1b60c2ca178bff88d",
"name": "Sample Role 2",
"description": "Sample Role 2",
"jobId": "70561adbfdd7474290b77d5903210c6b",
"clusterId": 5,
"candidateRoleId": "023aa77378fa47b4b29fc73fcde5bd44",
"status": "PUBLISHED",
"requestKey": "-1",
"userCount": 1,
"entitlementCount": 14,
"applicationCount": 3,
"userCoverage": 50,
"entitlementCoverage": 50,
"createdDate": "2021-04-23T10:10:02.565+00:00",
"createdBy": "RFROST",
"lastModifiedDate": null
}
]
}