Skip to Main Content

General Cloud Infrastructure

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

changeStatus Method not working for NewItemRequests

Priyankar SinghOct 11 2023

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?

Comments
Post Details
Added on Oct 11 2023
1 comment
464 views