The GET method with a specific job ID retrieves the detailed information about that scheduled job.
Method | URL | ||
GET | http://<host>:<port>/jasperserver[-pro]/rest_v2/jobs/<jobID>/ | ||
Options | |||
accept: application/xml (default) accept: application/job+json (provides advanced features, as described below) | |||
Return Value on Success | Typical Return Values on Failure | ||
200 OK – The body contains XML that describes all the job properties. | 404 Not Found – When the specified job is not found in the server. |
The GET method returns a job element that gives the output, scheduling, and parameter details, if any, for the job.
The job XML element returned by the rest_v2/jobs service has a different structure than the element with the same name returned by the rest/job service. |
As of JasperReports Server 5.5, the v2/jobs service also supports the extended application/job+json syntax. This format allows you to specify the scheduler features introduced in release 5.5, such as alert messages:
Recommended Comments
There are no comments to display.