Update provisioning task

put

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

Updates provisioning task based on the task id.

Request

Supported Media Types
Path Parameters
Body ()
Provisioning task inputs
Root Schema : ProvisioningTaskRequestInstance
Type: object
Show Source
Nested Schema : fields
Type: array
Show Source
Nested Schema : Fields
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful
Headers
Body ()
Root Schema : ProvisioningTaskResponseInstance
Type: object
Show Source
Nested Schema : LinkDataInstances
Type: object
Show Source

401 Response

Unauthorized

403 Response

Forbidden

404 Response

Requested entity not found

500 Response

Internal Server Error

Default Response

Unexpected error
Back to Top

Examples

This demonstrates the ability to update a provisioning task. The information shown here is against a pseudo system and serves as a prototype.

cURL Example

curl  -H "Content-Type: application/json"  -X PUT  -u username:password  -d @put.json https://pseudo.com/iam/governance/selfservice/api/v1/provtasks/5126

Example of PUT Request Body

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

{
  "id": "5126",
  "requestId": "10001",
  "fields": [
    {
      "name": "Process Instance.Task Details.Note",
      "value": "Updated value of Note-Sonia4"
    },
    {
      "name": "Process Instance.Task Details.Projected End",
      "value": "2016-02-21"
    }
  ]
}

Example of PUT Response Body

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

{
  "links": [
    {
      "rel": "self",
      "href": "http://pseudo.com/iam/governance/selfservice/api/v1/provtasks/5126"
    }
  ],
  "id": "5126",
  "status": "OK",
  "assignee": "System Administrator"
}
Back to Top