Cancel Job

Description

The cancel job operation supports cancelling a job while updateTiles is running from a hosted map service. The result of this operation is a response indicating success or failure with error code and description.

Parameters

Parameter

Details

f

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

Values: html | json | pjson

cancel

Description: The cancel parameter cancels a job while updateTiles is running from a hosted map service.

Example usage

Example input (HTML)

Cancel job map service

JSON Response syntax

{
  "success": <true|false>,
  "error": {
    "code": <code>,
    "message": "<description>",
    "details": [
      "<message>"
    ]
  }
}

JSON Response example (when cancel job succeeds)

{
  "success" : true
}

JSON Response example (when cancel job fails)

{
  "error" : 
  {
    "code" : 400, 
    "message" : "", 
    "details" : [
      "Unable to cancel job."
    ]
  }
}

7/5/2017