Quick Start

Perform these tasks to set up your environment and get started with using Oracle Analytics Publisher REST APIs.

Prerequisites

Prerequisite More Information
Subscribe to Oracle Analytics Cloud Subscribe to Oracle Analytics Cloud
Set up authentication Authenticate

Task 1: Obtain Account Information

Ask your account administrator for the following:

  • The username and password to log in to Oracle Analytics Cloud.

  • The URL for your Oracle Analytics Cloud instance.

Example cURL Commands

Run this cURL command to return the defintion of a Publisher report:

curl -i \
     --header 'Authorization: Bearer <token>' \
     --header 'Content-Length: 0' \
     --request GET 'https://hostname/api/xmlpserver/services/rest/v1/reports/<reportPath>'

For example, to fetch the definition of a report located at /Sample Lite/Published Reporting/Reports/Balance Letter:

curl -i \
     --header 'Authorization: Bearer <token>' \
     --header 'Content-Length: 0' \
     --request GET 'https://hostname/api/xmlpserver/services/rest/v1/reports/Sample%20Lite%252FPublished%20Reporting%252FReports%252FBalance%20Letter'