in the section:
I want to get the "jobId" and "jobStatus" with the URL example:
https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleR...<yourToken>&orders=<my orders> & depots = <my depots> & routes = <myroutes>&time_units=Minutes&distance_units=Miles&uturn_policy=NO_UTURNS&populate_directions=true&directions_language=en&default_date=1355212800000&f=json
as it is done for processing with javascript or php?
Thank you
Solved! Go to Solution.
See here for more details how to get the results from a geoprocessing task.
Running a geoprocessing task and getting the results | Guide | ArcGIS API for JavaScript
..............
The status callback receives a JobInfo object containing the job ID, the job status, and any GPMessages returned by the geoprocessor (if the server administrator has enabled messages). You may choose to write this information to the console window or elsewhere to track the status of the job.
function statusCallback(jobInfo) { console.log(jobInfo.jobStatus); }
.................
See here for more details how to get the results from a geoprocessing task.
Running a geoprocessing task and getting the results | Guide | ArcGIS API for JavaScript
..............
The status callback receives a JobInfo object containing the job ID, the job status, and any GPMessages returned by the geoprocessor (if the server administrator has enabled messages). You may choose to write this information to the console window or elsewhere to track the status of the job.
function statusCallback(jobInfo) { console.log(jobInfo.jobStatus); }
.................