Use the following method to stop a running report, as found with the previous method.
|
This syntax of the v2/reports service is deprecated. See The v2/reportExecutions Service. |
Method |
URL |
||
PUT |
http://<host>:<port>/jasperserver[-pro]/rest_v2/reports/<executionID>/status/ |
||
Content-Type |
Content |
||
application/xml |
Either an empty instance of the ReportExecutionCancellation class or <status>cancelled</status>. |
||
Return Value on Success |
Typical Return Values on Failure |
||
200 OK – The content also contains: |
204 No Content – When the specified execution ID is not found on the server, and the response body is empty. |