Skip to main content

Posts

Showing posts from March, 2020

Creating Item Lots Using REST API in Oracle Fusion

Creating Item Lots Using REST API in Oracle Fusion   Oracle Fusion Inventory Management provides multiple REST API services to create the transactions and to fetch the data from Inventory Management.    Below are the steps involved in creating an Item Lot using REST API.     Construct the Request URL   Set the Authentication Prepare the Request Body For more information on Step#1 and 2, You may review my earlier post https://xplorefusion.blogspot.com/2020/03/prerequisites-in-invoking-rest-api.html   Prepare the Request Body: Elements in the request body will depend on the business requirement. Below is a simple example to create an Item Lot.   {         "OrganizationId":"300000043518896",         "InventoryItemId": 300000045573119,         "LotNumber": "SF20181208",         "ActiveLot":"Yes",         "OriginationDate":"2020-03-31T18:30:00+00:00" } Prerequisit

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. https://docs.oracle.com/en/cloud/saas/supply-chain-management/20a/fasrp/Quick_Start.html   Construct the Request URL   Set the Authentication 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. 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, yo

How to Create Items using REST API in Oracle Fusion

 Fusion Applications provide multiple ways to create Items such as Using FBDI Process(File Based Data Import) Using REST API Using SOAP WebService In this post, we will see the basic data elements required to create Items using REST API.  You can find Oracle Standard Documentation at the below URL https://docs.oracle.com/en/cloud/saas/supply-chain-management/20a/fasrp/op-fscmrestapi-resources-11.13.18.05-itemsv2-post.html End Point:   fscmRestApi/resources/11.13.18.05/itemsV2 Method: Post Steps in Invoking a REST API: Construct the Request URL   Set the Authentication Prepare the Request Body Submit the request       Construct the Request URL:  There are two parts in a Request URL.     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 documentatio