Set Note in a Provisioning Task

A user can use this OIG Self Service REST API to set note in a provisioning task using the following URI:
  • /provtasks/<task_id> PUT: This sets the note 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": "setNote",  
       "fields" : [
           {
                "name": "Process Instance.Task Details.Note",
                "value": "Updated value of Note-NB"
           }
        ]
}

PUT Response Body

{
    "links": [
        {
            "rel": "self",
            "href": "https://pseudo.com/iam/governance/selfservice/api/v1/provtasks/1002"
        }
    ],
    "id": "1002",
    "status": "SUCCESS"
}