Cancel Job
- URL:
http://<DataReviewerServer-url>/Batch Validation/cancelJob
- Required Capability:Data Reviewer Server
- Related Resources:Batch Validation
- Version Introduced:10.1
Description
A REST resource that cancels a currently executing batch job.
License: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:
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."
}
}