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 export descriptor in either XML or JSON format to specify the format and details of your request. For example: | ||
Options | |||
accept: application/xml (default) accept: application/json | |||
Return Value on Success | Typical Return Values on Failure | ||
200 OK – The content contains an exportExecution descriptor. See below for an example. | 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:
Recommended Comments
There are no comments to display.