Api ExtendEndpoint/20.200.001/SalesOrder/CancelSalesOrder
how to fixed if API retrun code Code 422 Unprocessable Entity?
return body normaly like return body success
Api ExtendEndpoint/20.200.001/SalesOrder/CancelSalesOrder
how to fixed if API retrun code Code 422 Unprocessable Entity?
return body normaly like return body success
Hi
Please try below
Url:/entity/Default/20.200.001/SalesOrder/CancelSalesOrder
Method:POST
Request:
{
"entity": {
"OrderType": {
"value": "SO"
},
"OrderNbr": {
"value": "SO006322"
}
}
}
Hi
Root cause of 422 Unprocessable Entity is nothing but either URL should be wrong OR JSON request wrong.
As you mentioned above, URL looks good to me, check the JSON body.
Jini, already provided the proper JSON request in previous comment, please use this json request and verify.
Hi
Hi
Hi
Hi
Is ‘UsrQTStatus’ User defined Field and Marked as required?
Hi @abdi Yes, there is NO issue with the Endpoint. 422 issue is causing from the customization.
you can fix that customization issue and verify from the Endpoint.
Hi
Endpoint will work after you unpublish your customization.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.