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.
Disabled Tenant level Security for secured application
Enable Application-level BO Security to allow anonymous user
Allowed Web App-level Security for Anonymous user
Click on “Role Based Security” and allow Anonymous user View/Create/Update/Delete permission
Stage the application
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
Test the REST Endpoint using postman
Happy Blogging 🙂