Get Role Mining task details with taskId
get
/oiri/api/v1/tasks/{taskId}
Retrieve the Role Mining tasks details with taskId.
Request
Path Parameters
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
OK
Root Schema : JobDetails
Type:
Show Source
object-
createdBy(optional):
string
-
createdDate(optional):
string
-
description(optional):
string
-
finishedData(optional):
string
-
id(optional):
string
-
input(optional):
object input
-
lastUpdatedDate(optional):
string
-
message(optional):
string
-
name(optional):
string
-
output(optional):
string
-
sourceId(optional):
string
-
sourceName(optional):
string
-
startedDate(optional):
string
-
status(optional):
string
-
type(optional):
string
Examples
The following example shows how to retrieve role mining task by task ID.
curl -X GET\ -H "Accept: application/json"\ -H "Authorization: Bearer $token"\ "http://localhost:port/oiri/api/v1/tasks/2"
Example of the Response Body
The following is an example of the response body in JSON format.
{
"id": "2",
"sourceId": null,
"sourceName": null,
"name": "SampleTask2",
"description": "SampleTask2 desc",
"type": "ROLE_MINING",
"status": "CREATED",
"message": null,
"createdDate": "2021-04-22T07:12:31.436679Z",
"createdBy": "RFROST",
"lastUpdatedDate": "2021-04-22T07:12:31.436679Z",
"startedDate": null,
"finishedData": null,
"input": {
"name": "SampleTask2",
"description": "SampleTask2 desc",
"candidateRolePrefix": "cr",
"criteria": [
{
"type": "user",
"filter": "organization in (\"VisCertOrg\")"
}
],
"candidateRoleCountIndicator": 3
},
"output": null
}