Enable Job

Description

LicenseLicense:

The ArcGIS Data Reviewer for Server extension is required in order to use this resource.

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

Parameter

Details

f

Description: 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.

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

JSON response example

{
  "enabled": true
}

Example 2: Response for a job that is not scheduled:

JSON response example

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

7/5/2017