Skip To Content
ArcGIS Developers
Dashboard

Cancel Job

Description

License:

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

Note:

This resource is dependent on ArcGIS Data Reviewer’s ArcMap runtime-based server object extension (SOE). ArcGIS Enterprise 10.9.x, part of the ArcGIS 2021 releases, will be the last release of ArcGIS Enterprise to support services published from ArcMap.

To prepare for this change, Esri recommends that customers consider Data Reviewer capabilities enabled using ArcGIS Pro and integrated in the Validation service.

A REST resource that cancels a currently executing batch job.

Request parameters

ParameterDetails
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

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

https://localhost:6443/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."
  }
}