Cancel Job

Description

A REST resource that cancels a currently executing batch job.

LicenseLicense:

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

Request parameters

Parameter

Details

jobId

Description: An adhoc or scheduled job ID GUID.

Values: GUID

f

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

Values: html | json

Example Usage

Example 1: Cancel jobId f9b6aa4c-3834-4004-be0b-5eab7e4be827:

http://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation/cancelJob?jobId=f9b6aa4c-3834-4004-be0b-5eab7e4be827&f=pjson

JSON response syntax

{ "canceled" : <boolean> }

JSON response example

{
  "error": {
    "code": 500,
    "message": "The job with ID \f9b6aa4c-3834-4004-be0b-5eab7e4be827 can not be canceled because it is not currently executing."
  }
}

6/16/2017