- 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
Parameter | Details |
---|---|
| The response format. The default response format is Values: |
Example usage
The following is a sample request URL used to access the jobs
resource:
https://machine.domain.com/webadaptor/admin/services/Maps/Test.MapServer/jobs?f=pjson
JSON Response example
{"resources": ["statistics"]}