Do you need to provide access to the data in the business objects you created in Oracle Application Builder Cloud Service to outside systems?

Need to update data in a row from another interface? Need to upload data programmatically into an ABCS object?

All of these scenarios can be addressed using the REST interfaces exposed on the business objects you create in your application.

With these interfaces your business objects become reusable business services in ABCS that can be used by other applications even if they weren't built with ABCS.

 

If you'll look in your business object data designer window you'll see two new fields that provide the URLs for the REST interfaces for your objects.

One gives the URL to the object meta-data - hitting it in your browser will show you information about the object and the fields it exposes.

The second URL is the one used to actually access and manipulate the data.

Screen Shot 2017-05-26 at 12.15.53 PM.png

 

You can open a new tab in your browser and paste these URL into the browser to see the results returned from them.

Note that these URL are not accessible to outside users by default - for security reasons.

To allow access to these objects go to the application settings->Security and check the box marked: Enable basic authentication for business object REST APIs

 

Screen Shot 2017-05-26 at 12.17.18 PM.png

 

To access the data and manipulate it the apps accessing it will need to provide a user/pass combination. Then any security roles you defined on the objects will further restrict or allow them specific operation on the data.

 

One more thing to take into account is that ABCS also has CORS security in place - so you would want to add the URL of the server on which the apps that you run reside to your allowed services in the ABCS Administration.

 

Screen Shot 2017-05-26 at 12.12.15 PM.png

Now other systems can access and manipulate data in your application.