Polling Export Execution

As with the execution of the main report, you can also poll the execution of the export process.

Method

URL

GET

http://<host>:<port>/jasperserver[-pro]/rest_v2/reportExecutions/requestID/exports/exportID/status

Options

accept: application/xml (default)

accept: application/json

Return Value on Success

Typical Return Values on Failure

200 OK – The content contains the status of the export process, similar to the status field of the exportExecution descriptor. For example:

XML: <status>ready</status>

JSON: { "value": "ready" }

404 Not Found – When the request ID specified in the request does not exist.

For example, to get the status of the HTML export in the previous example, use the following URL:

GET http://localhost:8080/jasperserver-pro/rest_v2/reportExecutions/91238287...

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:

GET http://localhost:8080/jasperserver-pro/rest_v2/reportExecutions/91238287...

GET http://localhost:8080/jasperserver-pro/rest_v2/reportExecutions/91238287...

Version: 
Feedback
randomness