FRAMES | NO FRAMES Description | Parameters | Examples | Response
cancelJob (Operation)
URL http://<BatchValidation-url>/cancelJob
Parent Resource Batch Validation

Description

Cancels a currently executing batch job.

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

JSON response to a cancel request for a job that is not executing:

{
  "error": {
    "code": 500,
    "message": "The job with ID \u0027201f0f18-3f80-4e68-872e-3e7fa7e5ecd3\u0027 can not be canceled because it is not currently executing."
  }
}