Tasks in the Geo
service execute asynchronously, meaning that you submit a request (or job) and poll the
service for the status. When you submit a request, the Geo
service returns to you a unique job ID for
the transaction. When the status is esri
, you can access the results of the task.
Syntax:
https://<server url>/arcgis/rest/services/System/GeoAnalyticsTools/GPServer/<task name>/jobs/<jobId>
For example, with a server named myserver
on esri.com
and a Web Adaptor called server
that was running
Aggregate Points and the job ID returned was jbe5013b63142432dac207dcff51b68ds
, the URL for checking the job status
would be https
.
You can use the job ID to periodically check the status of the job and messages. Additionally, if the job has successfully completed, you can use the job ID to retrieve the results.
jobStatus
values
The job
property can have the following values:
esri
Job Submitted esri
Job Waiting esri
Job Executing esri
Job Succeeded esri
Job Failed esri
Job Timed Out esri
Job Cancelling esri
Job Cancelled