Get Task Information for a Certification

get

/iam/governance/selfservice/api/v1/certifications/{certid}/tasks

Returns all the task(s) within the certification ID. The tasks of the certification for which the logged in user is the primary reviewer will be returned. The functionality maps to the Dashboard view of certification tasks in Identity Console.

Request

Supported Media Types
Path Parameters
Query Parameters
  • Attributes to be returned in the result.Comma-separated attributes are accepted. Sample value for attributes is "name, status, type and so on."
  • Search filter to get return subset of task information.
Back to Top

Response

Supported Media Types

200 Response

Successful
Headers
Body ()
Root Schema : certificationTasks
Type: object
Show Source
Nested Schema : certifications
Type: array
Show Source
Nested Schema : CertTasks
Type: object
Show Source
Nested Schema : CertificationInstance
Type: object
Show Source
Nested Schema : Reviewer
Type: object
Show Source
Nested Schema : LinkDataInstances
Type: object
Show Source

401 Response

Unauthorized

404 Response

Entity not found

500 Response

Internal Server Error

Default Response

Unexpected error
Back to Top

Examples

This example retrieves all tasks 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/21/tasks

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/21/tasks"
        }
    ],
    "count": 1,
    "certifications": [
        {
            "links": [
                {
                    "rel": "self",
                    "href": "http://pseudo.com:PORT/iam/governance/selfservice/api/v1/certifications/21/tasks/e
1d5e5dd-5f9e-4747-bd5f-e00dc0b99d58"
                }
            ],
            "state": "ASSIGNED",
            "name": "usercert [ Ajay Arora ]",
            "type": "User",
            "id": "21",
            "asignee": "aarora",
            "createdDate": "2019-04-08T16:33:18Z",
            "soaTaskId": "6899dc3d-645c-42b1-8d9d-39eb9719261f",
            "taskId": "e1d5e5dd-5f9e-4747-bd5f-e00dc0b99d58"
        }
    ]
}
Back to Top