Skip To Content
ArcGIS Developer
Dashboard

Job (GP Service Jobs)

  • URL:https://<root>/services/<folder>/<serviceName.serviceType>/jobs/<jobID>
  • Version Introduced:10.9.1

Description

An individual job resource returns information about an asynchronous job, either currently running or completed, for a geoprocessing service.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

Response properties

PropertyDetails
job_id

The unique ID for the job.

job_created

The time, in milliseconds from epoch, the job was submitted.

job_execution_start

The time, in milliseconds from epoch, the job was started.

job_execution_end

The time, in milliseconds from epoch, the job was completed.

url

The URL of the job resource page.

status

The current status of the job.

userName

The user who submitted the job.

Example usage

The following is a sample request URL used to access an individual job resource:

https://organization.domain.com/context/rest/services/System/PublishingTools.GPServer/jobs/j0550714f334d4114af9f7a5d05cb145e?f=pjson

JSON Response example


{
  "status_code": 4,
  "job_id": "j0550714f334d4114af9f7a5d05cb145e",
  "service_id": "sfbsgf2p3tqnjn3s0h1m8",
  "job_created": 1637004585,
  "job_execution_start": 1637004590,
  "job_execution_end": 1637004594,
  "url": "https://organization.domain.com/context/rest/services/System/PublishingTools/GPServer/jobs/j0550714f334d4114af9f7a5d05cb145e",
  "revision": "1351727964",
  "status": "Succeeded",
  "username": "serviceAdmin"
}