FRAMES | NO FRAMES Description | Parameters | Examples | Response
deleteJob (Operation)
URL http://<BatchValidation-url>/scheduledJobs/<jobId>/deleteJob
Parent Resource scheduled job

Description

Removes a batch job from the queue. This operation only applies to scheduled jobs.

Parameters

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

Values: html | json

Example Usage

Example 1: Delete batch job e4aa6cfd-430c-4a22-a136-201ba3ee7f70:

http://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation/scheduledJobs/e4aa6cfd-430c-4a22-a136-201ba3ee7f70/deleteJob?f=pjson

JSON Response Example

{
  "deleted": true
}

Example 2: Response for a request to delete a job that has no schedule or does not exist:

JSON Response Example

{
  "error": {
    "code": 500,
    "message": "Job not found: e4aa6cfd-430c-1999-a136-201ba3ee7f70"
  }
}