As with the execution of the main report, you can also poll the execution of the export process. As of JasperReports® Server 5.6, this service supports the extended status value that includes an appropriate message.
Method | URL | ||
GET | http://<host>:<port>/jasperserver[-pro]/rest_v2/reportExecutions/requestID/exports/ | ||
Options | Sample Return Value | ||
accept: application/xml (default) | |||
accept: application/status+xml | |||
accept: application/json | |||
accept: application/status+json | |||
Return Value on Success | Typical Return Values on Failure | ||
200 OK – The content contains the export status, as shown above. In the extened format, error reports contain error messages suitable for display. | 404 Not Found – When the specified request ID does not exist. |
For example, to get the status of the HTML export in the previous example, use the following URL:
When the status is “ready” your client can download the new export output and any attachments as described in section Requesting Report Output. For example:
Recommended Comments
There are no comments to display.