Delete

URL:
https://<root>/<serviceName>/TopographicProductionServer/jobs/delete
Methods:
GET
Required Capability:
Requires an ArcGIS GIS Server Advanced license and a Production Mapping or Defense Mapping server extension license
Version Introduced:
11.0

Description

This operation removes jobs that have been completed or were canceled so that they no longer appear in queries or occupy server space.

Request parameters

ParameterDetails

jobIds

(Required)

The unique job identifier to add to the query URL, for example, ...jobs/delete/<jobID>.

f

(Required)

Specifies the response format.

Values: html | json | pjson

Response properties

The following details are for the properties of a response:

PropertyDetails

success

Indicates whether the operation was successful.

Values: true | false

Example usage

The following URL queries the products in the Topographic Production Service resource by jobId, removes the associated job, and returns a response in JSON format:

Use dark colors for code blocksCopy
1
https://machine.domain.com/server/rest/services/MTM50/TopographicProductionServer/jobs/delete?jobId=1EC280F6-2D86-4B71-9C3F-4A2BF5B153D2&f=json

JSON Response syntax

The following is the syntax of a response:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
{
 "count": <the total amount of jobs to delete>,
 "results": [<array of JSON objects that represents submitted jobs>
  {
   "id": "<job ID>",
   "success": <true | false>,
   "message": "<informational or error messages>"
  }
 ],
 "success": <true | false>
}

JSON Response example

The following response is an example of a successful deletion of one job:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
{
 "count": 1,
 "results": [
  {
   "id": "E55089F9-D756-453F-B700-D1D72FE79BA9",
   "success": true,
   "message": "Job deleted"
  }
 ],
 "success": true
}

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