Get Certification Task Details Based on Certification ID
get
/iam/governance/selfservice/api/v1/certifications/{certid}/tasks/{taskid}
Returns the specified certification task details.
Request
Supported Media Types
- application/json
Path Parameters
-
certid: string
Certification ID
-
taskid: string
Certification Tasks ID
Response
Supported Media Types
- application/json
200 Response
Successful
Headers
-
ResponseTime: string
Captures the time in milliseconds taken for processing the request.
Root Schema : SingleCertTaskDetails
Type:
Show Source
object-
certificationDate(optional):
string
-
certificationInstance(optional):
object CertificationInstance
-
certLineitems(optional):
array certLineitems
-
comment(optional):
string
-
percentComplete(optional):
string
-
reviewer(optional):
object TaskReviewer
-
startDate(optional):
string
-
status(optional):
string
-
taskId(optional):
string
-
taskName(optional):
string
Nested Schema : lineItemsInfo
Type:
Show Source
object-
accounts(optional):
integer
-
action(optional):
integer
-
certifiedBy(optional):
string
-
comments(optional):
string
-
dateCertified(optional):
string
-
entitlements(optional):
integer
-
itemRisk(optional):
integer
-
lineItem(optional):
object lineItemLink
-
links(optional):
object LinkDataInstances
-
percentComplete(optional):
integer
-
roles(optional):
integer
401 Response
Unauthorized
404 Response
Requested entity not found
500 Response
Internal Server Error
Default Response
Unexpected error
Examples
This example retrieves the information for a given task for a given certification. The information shown here is against a pseudo system and serves as a prototype.
cURL Example
curl -H "Content-Type: application/json" -X GET -u username:password https://pseudo.com/iam/governance/selfservice/api/v1/certifications/3/tasks/bea5a9e0-8e4c-455f- a34b-33ca190f0bce
Example of GET Response Body
The following example shows the contents of the response body in JSON format.
{
"links": [
{
"rel": "self",
"href": "http://pseudo.com:PORT/iam/governance/selfservice/api/v1/certifications/3/tasks/be
a5a9e0-8e4c-455f-a34b-33ca190f0bce"
}
],
"taskId": "bea5a9e0-8e4c-455f-a34b-33ca190f0bce",
"taskName": "usercert [ Bud Spencer ] Reassigned [ Ajay Arora ]",
"reviewer": {
"links": [
{
"rel": "reviewer",
"href": "http://pseudo.com:PORT/iam/governance/selfservice/api/v1/users/16"
}
],
"id": "16",
"displayName": "Ajay Arora"
},
"status": 1,
"certificationInstance": {
"id": "3"
},
"startDate": "2019-04-01T20:09:53Z",
"certificationState": "11",
"certLineitems": {
"links": [
{
"rel": "self",
"href": "http://pseudo.com:PORT/iam/governance/selfservice/api/v1/certifications/3/tasks/be
a5a9e0-8e4c-455f-a34b-33ca190f0bce/lineitems"
}
],
"certLineItemList": [
{
"links": [
{
"rel": "self",
"href": "http://pseudo.com:PORT/iam/governance/selfservice/api/v1/certifications/3/tasks/be
a5a9e0-8e4c-455f-a34b-33ca190f0bce/lineitems/3"
}
],
"entityId": 3
}
]
},
"percentComplete": 0
}