Enable Job

URL:
https://<BatchValidation-url>/scheduledJobs/<jobId>/enableJob
Methods:
GET
Required Capability:
Data Reviewer Server
Version Introduced:
10.1

Description

A REST resource that 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.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json

Example usage

Example 1: Resume the schedule for job e1f43a16-f5aa-49e9-a562-271a97102fd3.

1
https://localhost:6443/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation/scheduledJobs/e1f43a16-f5aa-49e9-a562-271a97102fd3/enableJob?f=pjson

JSON Response example

1
2
3
{
  "enabled": true
}

JSON Response example

A response for a job that is not scheduled.

1
2
3
4
5
6
{
  "error" : {
    "code" : 500,
    "message" : "Job not found: 60ef089d-6c35-43f7-91f4-1649fbd39028"
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close