The following method pauses currently scheduled job execution. Pausing keeps the job schedule and all other details but prevents the job from running. It does not delete the job.
Method | URL | ||
POST | http://<host>:<port>/jasperserver[-pro]/rest_v2/jobs/pause/ | ||
Content-Type | Content | ||
application/xml | A well-formed XML jobIdList descriptor that specifies the IDs of the jobs. See example below. If the body of the request is empty, or the list is empty, all jobs in the scheduler will be paused. | ||
Return Value on Success | Typical Return Values on Failure | ||
200 OK |
|
The following example shows a list of jobs sent in the body of the request.
Recommended Comments
There are no comments to display.