We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

How to change the 'Incomplete' status of created requisition using REST API to 'Pending approval'?

Question
11
Views
0
Comments
edited Oct 1, 2020 9:46AM in Integration

Summary

The created requisition using REST API goes to Incomplete status, how to change it to Pending Approval?

Content

I am trying to Create a Requisition using REST API, but the status is 'Incomplete', it should be set to 'Pending approval', these are the steps I made:

  1. POST in Create Requisition API header, details as follows:
  • URL: https://eiqs-dev1.fa.us6.oraclecloud.com/fscmRestApi/resources/11.13.18.05/purchaseRequisitions
  • Method: POST
  • Authorization: Basic Auth
  • Header(s): Content-Type | application/json
  • Request Payload Body:
    • {
          "RequisitioningBUId": 300000003203807,
          "PreparerId": 300000001226069,
          "ExternallyManagedFlag": false,
          "Description" : "Test 00.02 - Distributions",
          "FundsStatus": "Not reserved",
          "FundsStatusCode": "NOT_RESERVED",
          "lines":
          [
              {
                  "LineNumber": 1,
                  "LineTypeId": 1,
                  "CategoryName": "Gas Pipes",
                  "CategoryId": 300000018358525,
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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