Skip to main content

Steps in Invoking a REST API


Below steps are applicable for invoking all the REST API’s in Fusion. You can find more details on this process in the below link.

  1. Construct the Request URL 
  2. Set the Authentication
  3. Prepare the Request Body

 While step#3 will dependent on the REST API you are invoking, 1 and 2 remain same for all REST API calls.

  1. Construct the Request URL: 
Request URL contains two paths

    a.       Server
    b.       Resource Path



https://<server>/<resource-path>

The server will be the URL of your Oracle Cloud service.

 https://servername.fa.us2.oraclecloud.com
 
Resource Path is the value provided in the documentation as shown below.  
 
/fscmRestApi/resources/11.13.18.05/itemsV2
Hence the Request URL will be  
https://servername.fa.us2.oraclecloud.com/fscmRestApi
/resources/11.13.18.05/itemsV2
 
2.  Set the Authentication 
In a REST API client, you can enter the User name and Password 
in the Authorization tab as shown below. 

Comments