Send Requests

Use these guidelines when sending requests using the Oracle Analytics Publisher REST API.

URL Structure

Here's the URL structure for the requests:

https://hostname/xmlpserver/services/rest
Where:
  • Where hostname is the host name of your Oracle Analytics Server instance.

  • xmlpserver/services/rest: Relative path that defines the resource.

Supported Methods

You can perform basic create, read, update, and delete operations on a resource by using the following HTTP method requests.

HTTP Method Description
GET Retrieve information about an Oracle Analytics Publisher resource.
POST Create or retrieve an Oracle Analytics Publisher resource.
PUT Update Oracle Analytics Publisher resources.
DELETE Delete Oracle Analytics Publisher resources.

Media Types

The following media types are supported by the Oracle Analytics Publisher REST API:

  • application/json

  • multipart/form-data

  • application/octet-stream

Supported Headers

The Oracle Analytics Publisher REST API supports the following headers that are passed in the header section of the HTTP request or response.

Header Description Example
Accept Media type of the body of the response. Accept: application/json
Content-Type Media type of the body of the request. Required for POST and PUT requests. Content-Type: application/json