Report Service (prs_rest) prod 1.0.0

/reports/report

The following operations are supported on this resource:

GET

Generate a report from the parameters provided.
Example
rest/reports/report;path=%2Freport%2Frow;xmlUrl=tadtest2. xml;reportUrl=TAD_TEST.jrxml;format=pdf
If xmlUrl is set then the report will be filled with the data from the xmlUrl using the path parameter as the xpath expression to access data. Otherwise the jdbcUrl, jdbcDriver, jdbcUsername and jdbcPassword parameters are used to fill the report with data.
rest/reports/report;path=%2Freport%2Frow;xmlUrl=tadtest2. xml;reportUrl=TAD_TEST.jasper;format=pdf
If xmlUrl is set then the report will be filled with the data from the xmlUrl using the path parameter as the xpath expression to access data. Otherwise the jdbcUrl, jdbcDriver, jdbcUsername and jdbcPassword parameters are used to fill the report with data.

Parameters

name description type default
reportUrl The url of the jasper report xml matrix
xmlUrl The url of the xml data for the report matrix
xslUrl The url of the xsl stylesheet matrix
path The xpath expression used to access data for the report matrix
jdbcId The id of the jdbc connection details for the report matrix
jdbcUrl The id of the jdbc connection details for the report matrix
jdbcDriver The jdbc driver classname, e.g. org.postgresql.Driver matrix
jdbcUsername The username of the jdbc connection for the report matrix
jdbcPassword The password of the jdbc connection for the report matrix
format The format for the xml data {"pdf", "html", "xml", "odt", "rtf", "xls", "pptx", "docx", "csv"} matrix

Output Payload

element produceable content type(s)
(custom)
  • application/xml (alternative mount point: /xml )
  • application/vnd.ms-excel
  • text/html
  • application/pdf
description
The generated report