Get report sample data

get

/services/rest/v1/reports/{reportPath}/sampleData

Gets the sample data file stored with the report data model.

Request

Path Parameters
  • URL encoded report path. For example, if your report path is "/Sample Lite/Published Reporting/Reports/Balance Letter" then your encoded report path will be "%2FSample%20Lite%2FPublished%20Reporting%2FReports%2FBalance%20Letter". Use double encoded forward slash when you send a REST request to BI Publisher through a load balancer that isn't configured to pass encoded slashes. For example, if your report path is "/Sample Lite/Published Reporting/Reports/Balance Letter" then your encoded report path will be Sample%20Lite%252FPublished%20Reporting%252FReports%252FBalance%20Letter
Back to Top

Response

Supported Media Types

200 Response

Returns the report sample data in binary format.
Body ()
Root Schema : schema
Type: string(binary)
Back to Top

Examples

The following example shows how to get the sample data file stored with the data model of a report by submitting a GET request on the REST resource using cURL.

curl -u username:password -X GET https://host.com:port/xmlpserver/services/rest/v1/reports/Sample%20Lite%252FPublished%20Reporting%252FReports%252FBalance%20Letter/sampleData
Back to Top