- URL:
- https://<root>/services/<folder>/<ServiceName>.<ServiceType>/jobs/<jobID>
- Methods:
GET
- Required Capability:
- Access allowed with either the "Feature layer" or "Geoprocessing" privileges, or the Publisher role
- 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
Parameter | Details |
---|---|
| The response format. The default format is Values: |
Response properties
Property | Details |
---|---|
| The unique ID for the job. |
| The time, in milliseconds from epoch, the job was submitted. |
| The time, in milliseconds from epoch, the job was started. |
| The time, in milliseconds from epoch, the job was completed. |
| The URL of the job resource page. |
| The current status of the job. |
| 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"
}