Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to call Oracle Integration Cloud API from Oracle Apex by using Rest Data Source

LavkeshgMar 16 2022

Hi All,
I have a requirement in which I need to trigger Oracle Integration Cloud service with Oauth2.0 to get employee details. I have created Rest Data Source for same, but it is failing in authorization.
For authorization I am passing Access Token URL, Client ID, Client Secrete and scope details.
While creating Rest Data Source two remote servers got created for Data Source and authorization token also Web credentials got created but scope was not got added. I have edited and added it again but still Rest Data Source is failing in authorization.
I have trigger service to get token from Postman and it is working fine by passing grant type as client_credentials , Scope, Client ID and Client Secret in request body. and with token Oracle Integration cloud service is getting triggered successfully.
Can anyone help me to configure the Rest Data Source?
Thanks in advance!

Lavkesh

Comments
Post Details
Added on Mar 16 2022
1 comment
1,114 views