Render a report

Allows to render reports using the Web API. The benefit of this API endpoint is that Token Authentication can be used for the request and sending Basic login information is not required.

GET /api/reporting/report/render

Request the rendering for a given report using the given parameters. Requires the parameter report or reports to be set. The endpoint can be used just as the usual report render request and uses all parameters from the Report URL Parameter list.

Parameters can be sent as either GET or POST

REQUEST Fields Value Type Description
report string The location of the report
reports string The location of multiple reports

Example Request

# Request
GET /api/reporting/report/render?report=myPromptReport.rpt  HTTP/1.1
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response - Task will be executed
HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: <CONTENT LENGTH>
 
<REPORT RESPONSE>

Application Example

# Browser access
http://127.0.0.1:9000/api/reporting/report/render?report=myPromptReport.rpt
 
# Shell access using curl
curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/reporting/report/render?report=myPromptReport.rpt"
 
# Shell access using curl using username and password
curl -Lsu username:password "http://127.0.0.1:9000/api/reporting/report/render?report=myPromptReport.rpt"