Quick Start

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

Prerequisites

Prerequisite More Information
Install cURL Use cURL
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 Publisher.

  • The URL for your Oracle Analytics Server 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/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/xmlpserver/services/rest/v1/reports/Sample%20Lite%252FPublished%20Reporting%252FReports%252FBalance%20Letter'