Categories
- All Categories
- 162 Oracle Analytics News
- 29 Oracle Analytics Videos
- 14.8K Oracle Analytics Forums
- 5.7K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 56 Oracle Analytics Trainings
- 13 Oracle Analytics Data Visualizations Challenge
- 4 Oracle Analytics Career
- 2 Oracle Analytics Industry
- Find Partners
- For Partners
Which REST APIs to use for OAC

Best Answer
-
Hi Jaber,
Welcome to the Oracle Analytics Community!
The following document lists data source supported for the semantic models
Data Sources Supported for Semantic Models
Rest API is not supported for data models, but it is supported for connections with datasets
List of Supported Data Sources in Oracle Analytics Cloud > REST APIFor anything not currently supported, you would need to file an Ideas lab request (after searching for any already exists).
Oracle Analytics Idea LabThanks for posting your question.
1
Answers
-
Thanks, so that means whatever is published under the "semantic data model" approach would need to be published or made available as a "dataset"? How would that normally happen?
0 -
Hi @user13092632 ,
I maybe understand your question wrongly, but if you are asking how you can query your own subject areas built in your RPD and deployed in your OAC, then you can look at the good old SOAP web services that are available for more than 15 years.
Right now they aren't part of the OAC documentation, it's a work in progress, but you can see the available services in the above link (OAC has the same services as OBIEE 12c, the only difference is that you can now call the services with a token instead of having to do a login via the dedicated web service).
If you call
executeSQLQuery
(which take a LSQL query as parameter, not physical SQL), you can execute any query you want against your subject areas.2 -
Promising thanks a ton.
0 -
There is also a REST API in DV that let you execute queries (I believe it mostly takes a XML/JSON query instead of directly a LSQL query), but as far as I know, it isn't publicly documented so far. Here again it's something that should come at some point.
The whole DV is fully based on REST APIs, but most of them were considered "internal" and not documented. If you look at your browser developer extension and the various async request executed when you open a workbook, you will easily see that the data on screen is retrieved by an async request, it just isn't as "simple" as the SOAP service described above, because of the missing documentation right now.
1 -
And to answer your question:
so that means whatever is published under the "semantic data model" approach would need to be published or made available as a "dataset"?
No, just call the linked SOAP service and you can query directly your subject areas without needing to turn them into a DV dataset.
Historically it was also possible to create an ODBC connection to the BI Server directly to query the subject areas via ODBC. I just didn't try that in OAC (last time I did it, I used OBIEE 12c), it maybe isn't going to work because OAC only expose a limited number of services and ports.Forget ODBC, Steve posted below the link to the doc for a JDBC connection that definitely works in OAC.
1 -
I think I probably misunderstood the question as well, and may have answered too quickly.
(ps: I didn't mark it answered)
Another alternative.
You can use the BIJDBC connector.Overview to Querying Oracle Analytics Cloud Semantic Models Remotely
1 -
It's making sense now. :)
0 -
If you want to see a PDF / PNG of a DV canvas then we have a REST endpoint in early adopter that will provide that?
1