1.0.1 Exporting a Report Asynchronously¶
After running a report and downloading its content in a given format, you can request the same report in other formats. As with exporting report formats through the user interface, the report does not run again because the export process is independent of the report.
Method |
URL |
||
POST |
http://<host>:<port>/jasperserver[-pro]/rest_v2/reportExecutions/requestID/exports/ |
||
Content-Type |
Content |
||
application/xml application/json |
Send an |
||
Options |
|||
accept: application/xml (default) accept: application/json |
|||
Return Value on Success |
Typical Return Values on Failure |
||
200 OK – The content contains an |
404 Not Found – When the request ID specified in the request does not exist. |
||
The following example shows the exportExecution descriptor that the server sends in response to the export request:
|