Wednesday, 6 May 2026

How to create a Location using REST Web Service in Oracle Fusion

How to create a location using REST API in Oracle HCM Cloud

==========================================================

Step1: Search for REST API to create Location in Fusion Application.

Go to OER Oracle>Cloud Applications>HCM>Human Resources>Integrate>REST Resources.


Link: https://docs.oracle.com/en/cloud/saas/human-resources/farws/op-locationsv2-post.html 


Step2:

API Endpoint and Method

Method: POST

API Endpoint:/hcmRestApi/resources/11.13.18.05/locationsV2


URL: Fusion instance link+API endpoint

https://fa-exgs-saasfademo1.ds-fa.oraclepdemos.com/+

/hcmRestApi/resources/11.13.18.05/locationsV2



Step3:

Identify the mandatory columns to create Location in Fusion Application.

Go to My Client Groups>Workforce Structures>Add/Create a Location 


REST API for creating location:

https://fa-exgs-saasfademo1.ds-fa.oraclepdemos.com(dynamic change)/hcmRestApi/resources/11.13.18.05/locationsV2


Step4:

Choose POST Method, Basic Auth, enter Fusion Credentials and then click on Send.


{

    "LocationCode": "A2CF01",

    "LocationName": "A2CF BLR1",

    "ActiveStatus": "A",

    "SetId": 0,

    "SetCode": "COMMON",

    

  "addresses": [

        {

            "AddressUsageType": "MAIN",

            "AddressLine1": "3rd cross street",

            "TownOrCity": "Bengaluru",

            "Region1": "Behind Royalmart",

            "Country": "IN",

            "PostalCode": "560049"

        }

]

}


Step 5:

Check the location details created by REST API and then validate them in Fusion UI screen.


No comments: