Oracle Cloud Fusion Rest API Overview
Today is the era of Integration , Customer already have their legacy systems ready .But what demanding is to have communication between two systems, Integration or a pipe line between these systems.
Like SOAP based webservices , Oracle has Provided inbuilt Rest API's which governs call by simple JSON Script.
This has been a BIG move to bridge different legacy systems,
For example : A third party system invokes these API and can directly create the employee, absence or get details from fusion , let say a mobile application invokes this api and create absence which directly, in real time , gets hit in cloud (oracle fusion.)
In this POST , I am taking example of Absence REST API's provided by oracle.
Like SOAP based webservices , Oracle has Provided inbuilt Rest API's which governs call by simple JSON Script.
This has been a BIG move to bridge different legacy systems,
For example : A third party system invokes these API and can directly create the employee, absence or get details from fusion , let say a mobile application invokes this api and create absence which directly, in real time , gets hit in cloud (oracle fusion.)
In this POST , I am taking example of Absence REST API's provided by oracle.
1) Install a tool like POSTMAN or SOAPUI or JDEVELOPER.
I will take example from POSTMAN.
Enter information as mention :
1) URL : https://xxyz.oraclecloud.com/hcmRestApi/resources/11.13.18.02/absences/
https:<host>/hcmRestApi/resources/11.13.18.02/absences/
Incase of create employee , this is /hcmRestApi/resources/11.13.17.11/emps
This are standard END Points and more details can be obtained from
2) Authorization :
If you have Bearer token value select that or select Basic AUTH and pass user/password(pass user who have REST API roles assigned , for role pre requisites refer https://docs.oracle.com/en/cloud/saas/global-human-resources/r13-update17d/farws/Authorization.html)
3) Body
select raw with JSON
Create a payload
{
"personNumber": "367704",
"employer": "ABC",
"absenceType": "Late Punch",
"startDateDuration": "1",
"startDate": "2018-12-24",
"startTime": "09:15",
"endDate": "2018-12-24",
"endTime": "17:15",
"absenceStatusCd": "SUBMITTED",
"comments":"late punch
Test"
}
Details on payload can be obtained from
Click on SEND button on TOP Right.
For successful request , you should get status as 200 or 201.
and also a response will be generated providing value created.
Now you can login to oracle fusion GUI to check above record and basis approval rule defined , this can be in awaiting approval or approved stage.
Similarly we can get the details of this Record using GET method.
URL :
Body will be blank in this case
Please email me on madan.roopesh23@gmail.com in case of feedback or any queries or add comments.
I will be happy to answer them
You may also refer my Blog on how to integrate ADF pages in EBS
ReplyDeleteADF Integration in EBS