Jobs

URL:
https://<root>/services/<serviceName>.<serviceType>/jobs
Methods:
GET
Required Capability:
Access allowed with either the "Update", "Delete", "Security and Infrastructure", or "Servers" privileges
Version Introduced:
10.6.1

Description

The jobs resource provides access tp operations that locate, monitor, and intervene in current asynchronous jobs being run by a geoprocessing service.

From the jobs resource, you can query for jobs that meet specific conditions, purge the queue of all jobs with a current status of NEW, SUBMITTED, or WAITING, and view statistics of the current jobs for the service.

After a job has been completed, either failing or succeeding, it remains in the system until the server's jobs directory clears it out according to its user-defined cleanup interval.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access the jobs resource:

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/admin/services/Maps/Test.MapServer/jobs?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"resources": ["statistics"]}

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