REST API for AP invoice Cancellation | How to cancel standard invoice in payables by using REST API
how to cancel standard invoice in payables.
Here's how to pass correct Content Type:
1) In Postman/REST API Tool, go to Headers tab, and check the box for key : "Content-Type",
2) Pass value = 'application/vnd.oracle.adf.action+json' , without any quotes.
3) This value is also specified in documentation for REST APIs :
link :-
Cancel Invoice :- /fscmRestApi/resources/11.13.18.05/invoices/action/cancelInvoice
--================================================ OLD ----
https://your link info.com/fscmRestApi/resources/11.13.18.05/invoices
"name": "cancelInvoice",
"parameters": [
{
"InvoiceNumber": "REST_API_1001"
},
{
"BusinessUnit": "OAL Private Limited"
},
{
"Supplier": "Test Supplier App99"
}
]
}
--================================================ NEW ----
https://your link info.com/fscmRestApi/resources/11.13.18.05/invoices/action/cancelInvoice
"InvoiceNumber": "REST_API_1002",
"BusinessUnit": "OAL Private Limited",
"Supplier": "ATest Supplier App99"
}
Comments
Post a Comment