in the section:
"http://resources.arcgis.com/en/help/arcgis-rest-api/#/Vehicle_Routing_Problem_service/02r3000000n4000000/"
I want to get the "jobId" and "jobStatus" with the URL example:
https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem/submitJob?token=<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
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); }
.................
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.