FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<BatchValidation-url>/cancelJob |
---|---|
Parent Resource | Batch Validation |
Cancels a currently executing batch job.
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 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{ "canceled" : <boolean> }
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." } }