Pages

Tuesday, August 16, 2022

Access VBCS Business Object (BO) REST Endpoint anonymously

 

Oracle Visual Builder is a cloud based UX development Platform as a Service (PaaS) offering from Oracle Cloud. It provides an open-source standards-based solution to develop, collaborate on, and deploy Web and Mobile applications within Oracle Cloud.

VBCS also provide another awesome feature called Business Objects. A business object is a resource, such as an invoice or purchase order, like a database table; it has fields that hold the data for your application. Like a database table, a business object provides the structure for data used with business processes. Business objects are stored in a database.

Business Object also get exposed through REST Endpoint out-of-box, user doesn’t need to install/configure anything other than just creating a Business Object. However, those REST API are protected and need authentication when someone want to access from outside word.

In this blog, I am listing very simple steps what’s needed if developers want to expose Business Object REST API to outside world as anonymous users.

 

Step1:

Disabled Tenant level Security for secured application


Step 2:

Enable Application-level BO Security to allow anonymous user

Step 3:

Allowed Web App-level Security for Anonymous user

Step 4:

Click on “Role Based Security” and allow Anonymous user View/Create/Update/Delete permission

Step 5:

Stage the application

Step 6:

Get the staging environment URL for specific end point.

Please Note: Don’t copy the Development Environment URL. Only Stage and Live environment URL works for me. May be in future product team will fix the issue and will allow to access Development Environment BO REST endpoint too but at the time of writing this blog only Stage and Live BO REST Endpoint was working

Step 7:

Test the REST Endpoint using postman

Happy Blogging 🙂

 

No comments:

Post a Comment