Cancel GP Job

Description

The cancel operation is performed on an asynchronous GP Job resource. This operation results in the cancellation of a geoprocessing job. You can provide an argument to the cancel operation as defined in the following parameters table:

Request parameters

Parameter

Details

f

Description: The response format. The default response format is html.

Values: html | json

Example usage

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

NoteNote:

j8279ff17f3b348ddadb6c092cfb7e7ba is an example job ID, and the job ID of your job may vary.

JSON response syntax

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

JSON response example

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

9/13/2017