Get History of a Provisioning Task

A user can use this OIG Self Service REST API to get history details of a provisioning task using the following URI:
  • /provtasks/<task_id>/history GET: This retrieves the history of a provisioning task.

cURL Example

curl -X GET --verbose -k -1  -H "Content-Type: application/json" -H "X-Requested-By: provtasks"  -u username:password https://pseudo.com/iam/governance/selfservice/api/v1/provtasks/6/history

GET Response Body

{
    "links": [
        {
            "rel": "self",
            "href": "https://pseudo.com/iam/governance/selfservice/api/v1/provtasks/6/history"
        },
        {
            "rel": "self",
            "href": "https://pseudo.com/iam/governance/selfservice/api/v1/provtasks/6/history?offset=1&limit=10"
        },
        {
            "rel": "first",
            "href": "https://pseudo.com/iam/governance/selfservice/api/v1/provtasks/6/history?offset=1&limit=10"
        }
    ],
    "count": 1,
    "hasMore": false,
    "totalResult": -1,
    "provTaskHistoryList": [
        {
            "links": [
                {
                    "rel": "self",
                    "href": "https://pseudo.com/iam/governance/selfservice/api/v1/provtasks/6/history/6"
                }
            ],
            "fields": [
                {
                    "name": "Status",
                    "value": "Pending"
                },
                {
                    "name": "ASSIGNER_USER_KEY",
                    "value": 0
                },
                {
                    "name": "Process Instance.Task History.Assign Type",
                    "value": "Default task assignment"
                },
                {
                    "name": "Process Instance.Task Information.Assignee User Key",
                    "value": 1
                },
                {
                    "name": "Users.Manager Login",
                    "value": ""
                },
                {
                    "name": "Groups.Group Name",
                    "value": ""
                },
                {
                    "name": "Status.Status",
                    "value": "P"
                },
                {
                    "name": "Process Instance.Task History.Action",
                    "value": "Engine"
                },
                {
                    "name": "Process Instance.Task History.Assign Date",
                    "value": "June 25, 2018 07:23:40 AM"
                },
                {
                    "name": "Process Instance.Task Information.Assignee First Name",
                    "value": "System"
                },
                {
                    "name": "AssignedToUser",
                    "value": "System Administrator  [XELSYSADM]"
                },
                {
                    "name": "ASSIGNER_USER_LOGIN",
                    "value": ""
                },
                {
                    "name": "Process Instance.Task Information.Assignee User ID",
                    "value": "XELSYSADM"
                },
                {
                    "name": "Users.Manager First Name",
                    "value": ""
                },
                {
                    "name": "ASSIGNER_FIRST_NAME",
                    "value": ""
                },
                {
                    "name": "Process Instance.Task History.Assigned To User",
                    "value": 1
                },
                {
                    "name": "ASSIGNER_LAST_NAME",
                    "value": ""
                },
                {
                    "name": "Users.Manager Key",
                    "value": 0
                },
                {
                    "name": "Process Instance.Task History.Assigned By User",
                    "value": 0
                },
                {
                    "name": "Process Instance.Task History.Assigned To Group",
                    "value": 0
                },
                {
                    "name": "Process Instance.Task Information.Assignee Last Name",
                    "value": "Administrator"
                },
                {
                    "name": "Users.Manager Last Name",
                    "value": ""
                }
            ]
        }
    ]
}