| FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
| URL | http://<BatchValidation-url>/scheduledJobs/<jobId>/enableJob |
|---|---|
| Parent Resource | scheduled job |
Resumes a batch job's schedule. You can pause a batch job's schedule with disableJob. disableJob suspends a job's schedule. It does not delete the job or cancel execution of a job.
| Parameter | Details |
|---|---|
| f | Description: The
response format. The default response format is html.
Values: html | json |
Example 1: Resume the schedule for jobId e1f43a16-f5aa-49e9-a562-271a97102fd3:
http://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation/scheduledJobs/e4aa6cfd-430c-4a22-a136-201ba3ee7f70/enableJob?f=pjson
{
"enabled": true
}
Example 2: Response for a jobId that is not scheduled:
{
"error" : {
"code" : 500,
"message" : "Job not found: 60ef089d-6c35-43f7-91f4-1649fbd39028"
}
}