Get Provisioning Process Details
A user can use this OIG Self Service REST API to get details of a provisioning process using the following URI:
-
/provprocesses/<processid> GET
: This retrieves Provisioning process details.
cURL Example
curl -X GET --verbose -k -1 -H "Content-Type: application/json" -H "X-Requested-By: provprocess" -u username:password https://pseudo.com/iam/governance/selfservice/api/v1/provprocesses/22
GET Response Body
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/provprocesses/22" } }, "id": "22", "provisionProcessTaskTOList": [ { "id": "28", "fields": [ { "name": "Process Instance.Task Information.Assign Type", "value": "Default task assignment" }, { "name": "Process Instance.Task Details.Type", "value": "" }, { "name": "Groups.Group Name", "value": "" }, { "name": "Process Instance.Task Information.Assignee First Name", "value": "System" }, { "name": "Status.Category", "value": "Pending" }, { "name": "Process Instance.Task Details.System level", "value": 0 }, { "name": "Process Instance.Task Details.Note", "value": "" }, { "name": "Process Instance.Task Details.Status", "value": "P" }, { "name": "Process Instance.Task Details.Updated By", "value": 1 }, { "name": "Process Instance.Task Information.Updated By Last Name", "value": "Administrator" }, { "name": "RETRYALLOWED", "value": "true" }, { "name": "Process Instance.Task Details.Projected End", "value": "June 25, 2018 08:12:40 AM" }, { "name": "Process Instance.Task Details.Row Version", "value": "AAAAAAAAAAA=" }, { "name": "Process Definition.Tasks.Hours", "value": 0 }, { "name": "Process Instance.Task Details.Created By", "value": 1 }, { "name": "Process Instance.Task Details.Update Date", "value": "June 25, 2018 08:12:40 AM" }, { "name": "Process Definition.Tasks.Responses.Description", "value": "" }, { "name": "Process Instance.Task Information.Assignee Last Name", "value": "Administrator" }, { "name": "Process Instance.Task Details.Data", "value": "" }, { "name": "Process Definition.Tasks.Task Name", "value": "System Validation" }, { "name": "Process Definition.Tasks.Disable Manual Insert", "value": "" }, { "name": "Process Instance.Task Details.Actual End Date", "value": "January 01, 1970 12:00:00 AM" }, { "name": "Groups.Role Display Name", "value": "" }, { "name": "Process Instance.Task Information.Assignee User Key", "value": 1 }, { "name": "Process Definition.Name", "value": "AD User" }, { "name": "Process Definition.Tasks.Responses.Key", "value": 0 }, { "name": "Process Instance.Task Details.Action", "value": "" }, { "name": "Process Instance.Task Details.Creation Date", "value": "June 25, 2018 08:12:40 AM" }, { "name": "Process Instance.Task Information.Assignee User ID", "value": "XELSYSADM" }, { "name": "Process Instance.Task Information.Assigned Date", "value": "June 25, 2018 08:12:40 AM" }, { "name": "Process Instance.Task Details.Key", "value": 28 }, { "name": "Process Definition.Tasks.Task Description", "value": "" }, { "name": "Process Instance.Task Details.Task Offlined", "value": 0 }, { "name": "Process Definition.Tasks.Key", "value": 202 }, { "name": "Process Definition.Tasks.Days", "value": 0 }, { "name": "Process Definition.Tasks.Milestone Datalabel", "value": "" }, { "name": "Process Instance.Task Information.Updated By User Key", "value": 1 }, { "name": "Process Instance.Task Information.Row Version", "value": "AAAAAAAAAAA=" }, { "name": "Process Instance.Task Details.Reason", "value": "" }, { "name": "Process Definition.Tasks.Minutes", "value": 0 }, { "name": "Process Instance.Task Details.Projected Start", "value": "June 25, 2018 08:12:40 AM" }, { "name": "Groups.Key", "value": 0 }, { "name": "Process Instance.Task Information.Updated By User ID", "value": "XELSYSADM" }, { "name": "Process Instance.Task Details.Actual Start Date", "value": "June 25, 2018 08:12:40 AM" }, { "name": "Process Instance.Task Information.Updated By First Name", "value": "System" }, { "name": "TargetType", "value": "User" }, { "name": "TargetName", "value": "System Administrator [XELSYSADM]" }, { "name": "AssignedTo", "value": "System Administrator [XELSYSADM]" }, { "name": "Status", "value": "Pending" }, { "name": "Response", "value": "" }, { "name": "ResponseDescription", "value": "" } ] } ], "resourceId": "13", "resourceName": "AD User", "userId": "9", "userName": "USR 11JI LS", "resourceStatus": "Provisioning" }