Set Response in a Provisioning Task
A user can use this OIG Self Service REST API to set response in a provisioning task using the following URI:
-
/provtasks/<task_id> PUT: This sets the response in a provisioning task.
cURL Example
curl -H "Content-Type: application/json" -H "X-Requested-By: <anyvalue>" -X PUT -u username:password -d @put.json https://pseudo.com/iam/governance/selfservice/api/v1/provtasks/1002
PUT Request Body
{
"action": "setResponse",
"fields" : [
{
"name": "Process Definition.Tasks.Responses.Response",
"value": "VALIDATION_FAILED"
}
]
}
PUT Response Body
{
"links": [
{
"rel": "self",
"href": "https://pseudo.com/iam/governance/selfservice/api/v1/provtasks/1002"
}
],
"id": "1002",
"status": "SUCCESS"
}