By Asantaga-Oracle on Jan 13, 2014
This sample code builds on the previous code examples in my blog showing how you can create a RESTful Facade for Oracle Sales Cloud. Specifically this example concentrates on the six main objects people tend to work with :
This application is an extension of a previous blog article https://blogs.oracle.com/angelo/entry/rest_enabling_oracle_fusion_sales, it is recommended that this article, and tutorial, are followed first.
Please note this code is SAMPLEWARE and delivered with no guarantees, warranties or support
Functionality / Features
- Supports Oracle Sales Cloud Release 7 and JDeveloper 18.104.22.168
- Ability to query data in a RESTFul way (using GET/PUT verbs)
- Data can be queried using JSON or XML data formats
- URIs can contain parameters which reduce the amount of data which is returned , e.g. only bring back Opportunity IDs and Names
- URI can contain SIMPLE queries, e.g. where OptyID=12323232
- Complex queries can be passed in as a POST query when the URI ends in /xmlquery
- User Credentials, CRM Server, FetchSize and FetchStart can be provided in httpHeaders, thus can be encrypted by SSL
- Default Server can be setup so that credentials are not needed
- Project can be extended to cover other objects
- Read only is implemented, if you want to issue writes (PUTS) or updates then I recommend custom methods for each operation you require.
- In the future Oracle Sales Cloud will likely have support REST support natively; This software will work fine against future versions of Oracle Sales Cloud but you are probably better off using the native Oracle Sales Cloud REST support when it