We are trying to approve the New Item Requests using REST API but are getting error
400 Bad Request:The request content does not represent an action or it has an invalid structure.
URL : https://<hostname>/fscmRestApi/resources/11.13.18.05/newItemRequests/action/changeStatus/
Content-Type:application/vnd.oracle.adf.action+json
Payload :
{
"name" : "changeStatus",
"parameters": [
{
"nirNumber": <nirNumber>
},
{
"orgCode": <orgCode>
},
{
"toStatusName": "Completed"
}
]
}
Can someone please share a working payload for this API and what status are accepted?