You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Submit for Approval REST API is not working

edited Dec 17, 2019 10:52AM in Self Service Procurement 5 comments

Content

Hi,

We're trying to use the below new REST for submitting a requisition for approval:

https://docs.oracle.com/en/cloud/saas/procurement/19d/fapra/op-purchaserequisitions-requisitionheaderid-x-operations-0.html

POST  /fscmRestApi/resources/11.13.18.05/purchaseRequisitions/{RequisitionHeaderId}

 

Getting a validation error (bad request (400)) 

LineNumber 1: The value of the attribute Line Type is invalid. You can create requisitions only for goods-based lines. (POR-2010817)

 

The SOAP fscmService/PurchaseRequestService - createRequisition with attribute <initiateApprovalAfterRequisitionImport> as 'Y' is working properly with no problem...

 

Any idea if this the bug or just poor REST readiness ?

Version

19C

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!