Delete Job

Description

LicenseLicense:

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

A REST resource that removes a batch job from the queue. This operation only applies to scheduled jobs.

Request parameters

Parameter

Details

f

Description: The response format. The default response format is html.

Values: html | json

Example usage

Example 1: Delete batch job e4aa6cfd-430c-4a22-a136-201ba3ee7f70.

http://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation/scheduledJobs/e4aa6cfd-430c-4a22-a136-201ba3ee7f70/deleteJob?f=pjson

JSON response example

{
  "deleted": true
}

Example 2: Response for a request to delete a job that has no schedule or does not exist.

JSON response example

{
  "error": {
    "code": 500,
    "message": "Job not found: e4aa6cfd-430c-1999-a136-201ba3ee7f70"
  }
}

3/3/2017