Get Certification History

get

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

Returns the certification history.

Request

Supported Media Types
Path Parameters
Query Parameters
  • Attributes to be returned in the result. Comma-separated attributes are accepted. Sample value for supported attributes is "name, comment, certifier and so on."
  • Certification configuration
Back to Top

Response

Supported Media Types

200 Response

Successful
Headers
Body ()
Root Schema : certHistoryForTask
Type: object
Show Source
Nested Schema : lineItems
Type: array
Show Source
Nested Schema : lineItemsForTask
Type: object
Show Source
Nested Schema : actionHistoryList
Type: array
Show Source
Nested Schema : lineItemDetails
Type: array
Show Source
Nested Schema : lineItemDetailsForPolicy
Type: array
Show Source
Nested Schema : actionHistoryList
Type: object
Show Source
Nested Schema : lineItemDetailsForTask
Type: object
Show Source
Nested Schema : actionHistoryList
Type: array
Show Source
Nested Schema : certificationHistoryList
Type: array
Show Source
Nested Schema : certificationHistoryList
Type: object
Show Source
Nested Schema : LinkDataInstances
Type: object
Show Source

401 Response

Unauthorized

404 Response

Requested entity not found

500 Response

Internal Server Error

Default Response

Unexpected error
Back to Top

Examples

This example retrieves the history 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/history

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/history?offset=1&limit=10"
        },
        {
            "rel": "first",
            "href": "http://pseudo.com:PORT/iam/governance/selfservice/api/v1/certifications/3/tasks/be
a5a9e0-8e4c-455f-a34b-33ca190f0bce/history?offset=1&limit=10"
        },
        {
            "rel": "last",
            "href": "http://pseudo.com:PORT/iam/governance/selfservice/api/v1/certifications/3/tasks/be
a5a9e0-8e4c-455f-a34b-33ca190f0bce/history?offset=0&limit=10"
        }
    ],
    "count": 1,
    "hasMore": false,
    "totalResult": 1,
    "certId": 3,
    "taskUid": "bea5a9e0-8e4c-455f-a34b-33ca190f0bce",
    "certificationType": "User",
    "lineItems": [
        {
            "lineItemId": 1,
            "actionHistoryList": [
                {
                    "action": 2,
                    "actorDisplayName": "System",
                    "actorId": -2,
                    "certState": 11,
                    "eventId": 13,
                    "eventTimestamp": "2019-04-01T20:09:52Z",
                    "recipientDisplayName": "Ajay Arora",
                    "recipientId": 16,
                    "recipientTaskUID": "bea5a9e0-8e4c-455f-a34b-33ca190f0bce",
                    "relatedCertId": 2
                },
                {
                    "action": 15,
                    "actorDisplayName": "System",
                    "actorId": -2,
                    "certState": 11,
                    "eventId": 15,
                    "eventTimestamp": "2019-04-01T20:09:52Z",
                    "recipientDisplayName": "Ajay Arora",
                    "recipientId": 16,
                    "recipientTaskUID": "bea5a9e0-8e4c-455f-a34b-33ca190f0bce"
                },
                {
                    "action": 3,
                    "actorDisplayName": "System",
                    "actorId": -2,
                    "certState": 11,
                    "eventId": 17,
                    "eventTimestamp": "2019-04-01T20:09:53Z"
                }
            ],
            "lineItemDetails": [
                {
                    "lineItemDetailId": 2,
                    "actionHistoryList": [
                        {
                            "action": 2,
                            "actorDisplayName": "System",
                            "actorId": -2,
                            "certState": 11,
                            "eventId": 13,
                            "eventTimestamp": "2019-04-01T20:09:52Z",
                            "recipientDisplayName": "Ajay Arora",
                            "recipientId": 16,
                            "recipientTaskUID": "bea5a9e0-8e4c-455f-a34b-33ca190f0bce",
                            "relatedCertId": 2
                        },
                        {
                            "action": 15,
                            "actorDisplayName": "System",
                            "actorId": -2,
                            "certState": 11,
                            "eventId": 15,
                            "eventTimestamp": "2019-04-01T20:09:52Z",
                            "recipientDisplayName": "Ajay Arora",
                            "recipientId": 16,
                            "recipientTaskUID": "bea5a9e0-8e4c-455f-a34b-33ca190f0bce"
                        }
                    ],
                    "certificationHistoryList": [
                        {
                            "certificationStatus": 3,
                            "certificationName": "usercert [ Bud Spencer ] ",
                            "certificationDate": "2019-04-01T20:09:52Z",
                            "certificationType": 3,
                            "id": 1
                        },
                        {
                            "certificationStatus": 1,
                            "certificationName": "usercert [ Bud Spencer ] ",
                            "certifiedBy": "aarora",
                            "certificationDate": "2019-04-01T20:16:53Z",
                            "certificationType": 3,
                            "id": 2
                        }
                    ]
                }
            ]
        }
    ]
}
Back to Top