Fusion Applications provide multiple ways to create Items such as
- Using FBDI Process(File Based Data Import)
- Using REST API
- Using SOAP WebService
You can find Oracle Standard Documentation at the below URL
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 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.
3. Prepare the Request Body
Elements in the request body will depend on the Item Class setup and the business requirement. Below is a simple example to create a Finished Good Item.
{
"ItemNumber":"TQ032901",
"ItemDescription":"Item Creation using REST API",
"ItemClass":"Root Item Class",
"OrganizationCode":"AQ_IMO",
"Template":"Finished Goods",
"PrimaryUOMValue":"Each",
"LifecyclePhaseValue":"Production",
"ItemStatusValue":"Active",
"ApprovalStatusValue":"Approved"
}
4. Submit the Request;
Once the Request Body is saved, click on Send.
As shown in the below screen shot, received the response status as 201(Created).
Screen shot of the Items from Fusion Application.
Comments
Post a Comment