Cancel Job

URL:
https://<BatchValidation-url>/cancelJob
Methods:
GET
Required Capability:
Data Reviewer Server
Version Introduced:
10.1

Description

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:

Use dark colors for code blocksCopy
1
https://localhost:6443/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation/cancelJob?jobId=f9b6aa4c-3834-4004-be0b-5eab7e4be827&f=pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
{ "canceled" : <boolean> }

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
{
  "error": {
    "code": 500,
    "message": "The job with ID \f9b6aa4c-3834-4004-be0b-5eab7e4be827 can not be canceled because it is not currently executing."
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.