- URL:https:///<BatchValidation-url>/cancelJob
- Required Capability:Data Reviewer Server
- Related Resources:Batch Validation
- Version Introduced:10.1
Description
License:
The ArcGIS Data Reviewer extension is required to use this resource.
Note:
This resource is dependent on the ArcGIS Data Reviewer ArcMap runtime-based server object extension (SOE). ArcGIS Enterprise 10.9.x, part of the ArcGIS 2021 releases, is the last release of ArcGIS Enterprise to support services published from ArcMap.
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
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
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."
}
}