- URL:https://<BatchValidation-url>/scheduledJobs/<jobId>/disableJob
- Required Capability:Data Reviewer Server
- Related Resources:Batch Validation, Scheduled Jobs, Edit Job, Enable Job, Delete Job
- Version Introduced:10.1
Description
License:
The ArcGIS Data Reviewer extension is required to use this resource.
Note:
This resource is dependent on the ArcGIS Data Reviewer ArcMap runtime-based server object extension (SOE). ArcGIS Enterprise 10.9.x, part of the ArcGIS 2021 releases, is the last release of ArcGIS Enterprise to support services published from ArcMap.
Consider Data Reviewer capabilities enabled using ArcGIS Pro and integrated in the Validation service.
A REST resource that pauses the scheduler of a batch job. disableJob suspends a job's schedule. It does not delete the job or cancel execution of a job.
You can resume the scheduler for a job using the enableJob operation.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default response format is html. Values: html | json |
Example usage
Pause the execution schedule for job e4aa6cfd-430c-4a22-a136-201ba3ee7f70.
https://localhost:6443/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation/scheduledJobs/e4aa6cfd-430c-4a22-a136-201ba3ee7f70/disableJob?f=pjson
JSON Response example
{
"disabled": true
}
JSON Response example
Response to a request to pause the execution schedule for a job that has no schedule.
{
"error" : {
"code" : 500,
"message" : "Job not found: 60ef089d-6c35-43f7-91f4-1649fbd39028"
}
}