FRAMES | NO FRAMES Description | Parameters | Examples | Response | Input Values
Cancel GP Job (Operation)
URL http://<task-url>/jobs/<job-id>/cancel
Parent Resource Job

Description

The cancel operation is performed on an asynchronous GP Job resource. This operation results in the cancellation of a GP job. You can provide arguments to the submitJob operation as query parameters defined in the parameters table below.

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json

Example Usage

http://servicesbeta2.esri.com/arcgis/rest/services/911CallsHotspot/GPServer/911%20Calls%20Hotspot/jobs/j8279ff17f3b348ddadb6c092cfb7e7ba/cancel

Note that j8279ff17f3b348ddadb6c092cfb7e7ba is an example Job ID and the Job ID when you submit the job might vary.

JSON Response Syntax

{
"jobId" : "<jobId>",
"jobStatus" : "<jobStatus>"
}

JSON Response Example

{
"jobId" : "JE30155054C2C416EA3CF6C88A40B94FF",
"jobStatus" : "esriJobCancelled"
}