Update provisioning task
put
/iam/governance/selfservice/api/v1/provtasks/{taskid}
Updates provisioning task based on the task id.
Request
Supported Media Types
- application/json
Path Parameters
-
taskid: string
Task ID
Provisioning task inputs
Response
Supported Media Types
- application/json
200 Response
Successful
Headers
-
ResponseTime: string
Captures the time in milliseconds taken for processing the request.
401 Response
Unauthorized
403 Response
Forbidden
404 Response
Requested entity not found
500 Response
Internal Server Error
Default Response
Unexpected error
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" }