releaseHold via REST API
Summary:
I am unable to releaseHold via REST API. I am doing a POST on URL https://<hostname>/fscmRestApi/resources/11.13.18.05/salesOrdersForOrderHub/action/releaseHold
with headers:
Content-Type: application/vnd.oracle.adf.resourceitem+json
REST-Framework-Version: 9
But I am getting the below error:
{
"title": "Bad Request",
"status": "400",
"o:errorDetails": [
{
"detail": "The specified operation is not supported for the invoked HTTP method. Please check the URL and the headers.",
"o:errorCode": "27505"
}
]
}
I have looked at the sample request payload in the documentation and also confirmed that the URL is correct -- https://docs.oracle.com/en/cloud/saas/supply-chain-and-manufacturing/23c/fasrp/op-salesordersfororderhub-action-releasehold-post.html
I have also done a describe on salesOrdersForOrderHub and confirmed that POST is indeed the right method for the action releaseHold.