Delete Job

URL:
https:///<BatchValidation-url>/scheduledJobs/<jobId>/deleteJob
Methods:
GET
Required Capability:
Data Reviewer Server
Version Introduced:
10.1

Description

A REST resource that removes a batch job from the queue. This operation only applies to scheduled jobs.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json

Example usage

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

Use dark colors for code blocksCopy
1
https://localhost:6443/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation/scheduledJobs/e4aa6cfd-430c-4a22-a136-201ba3ee7f70/deleteJob?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
{
  "deleted": true
}

JSON Response example

A response for a request to delete a job that has no schedule, or does not exist.

Use dark colors for code blocksCopy
1
2
3
4
5
6
{
  "error": {
    "code": 500,
    "message": "Job not found: e4aa6cfd-430c-1999-a136-201ba3ee7f70"
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.