Saturday, August 15, 2020

Validate an AP Invoice using Rest API through POSTMAN


1. Get the host name, invoice endpoint and Method
    For example:
    Host: https://xxxx-test.fa.us6.oraclecloud.com
    Endpoint: /fscmRestApi/resources/latest/invoices 
    Method: POST 

 2. Open POSTMAN and create new Request 
 3. Provide the complete endpoint url and choose method as POST



4.     Now go to authorization tab and Provide the user credentials for Basic authentication type

 


5.      Go to Headers tab and set the

      Content-Type” as "application/vnd.oracle.adf.action+json"


 6.      Go to Body tab and provide the JSON input


  7.      Click on Send to run the request


 8.      Check the Status in bottom section of POSTMAN



    9.      Check the response message in the bottom section of postman (Body tab -> Pretty or Raw)

          The successful response would be like below:



10. Check in the Fusion Invoice page for this invoice. The Status should be validated.

No comments:

Post a Comment