Get provisioning task based on the task id.

get

/iam/governance/selfservice/api/v1/provtasks/{taskid}

Returns the provisioning task for the specified task id.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful
Headers
Body ()
Root Schema : SingleProvTask
Type: object
Show Source
Nested Schema : fields
Type: array
Show Source
Nested Schema : formFields
Type: array
Show Source
Nested Schema : Fields
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 information for a given taskid. 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/unauthservice/provtasks/5124

Example of GET Response Body

The following example shows the contents of the response body in JSON format.

{
  "id": "5124",
  "fields": [
    {
      "name": "Process Definition.Tasks.Key",
      "value": 39
    },
    {
      "name": "Process Instance.Task Information.Updated By User ID",
      "value": "XELSYSADM"
    },
    {
      "name": "Process Instance.Task Details.Data",
      "value": "Rejected"
    },
    {
      "name": "Process Instance.Task Details.Created By",
      "value": 1
    },
    {
      "name": "Process Definition.Tasks.Task Name",
      "value": "ManualRevokeStart"
    },
    {
      "name": "Process Instance.Task Information.Assignee First Name",
      "value": "System"
    },
    {
      "name": "SCH_REASON",
      "value": ""
    },
    {
      "name": "Process Instance.Task Details.System level",
      "value": 0
    },
    {
      "name": "Process Instance.Task Information.Assign Type",
      "value": "User"
    },
    {
      "name": "Process Definition.Tasks.Milestone Datalabel",
      "value": ""
    },
    {
      "name": "Process Instance.Task Information.Assignee User Key",
      "value": 1
    },
    {
      "name": "Process Instance.Task Details.Status",
      "value": "X"
    },
    {
      "name": "Organizations.Key",
      "value": 1
    },
    {
      "name": "Process Definition.Tasks.Days",
      "value": 0
    }
  ]
}
Back to Top