Use the following method to list jobs, either all jobs managed by the scheduler or the jobs for a specific report:
Method | URL | ||
GET | http://<host>:<port>/jasperserver[-pro]/rest_v2/jobs http://<host>:<port>/jasperserver[-pro]/rest_v2/jobs/path/to/report | ||
Return Value on Success | Typical Return Values on Failure | ||
200 OK – The body contains XML that describes jobs in the scheduler. | 404 Not Found – When no job is not found in the server. |
The jobs are described in the jobsummary element such as the following example:
The jobsummary XML element returned by the rest_v2/jobs service has a different structure than the element with the same name returned by the rest/jobsummary service. |
Recommended Comments
There are no comments to display.