4. πŸš™ Routing & Directions API

Number of APIs: 46

πŸš™ Routing & Directions API

The requests on this collection use the environment variables. If you haven't followed the steps in the **How to set your free API key πŸ”‘** section in the [Qodex ArcGIS Location Service workspace] now is a good time to do it 😜.

πŸ“„ Guides and API reference

πŸ› οΈ Integration

Libraries and wrappers to access this API:

  1. Find routes and directions-πŸ’‘ Examples-Direct: Find a route and directions - Routing - Find a route and directions GET https://{{route-service}}.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?f=json&token={{access_token}}&stops=-122.68782,45.51238;-122.690176,45.522054;-122.614995,45.526201&startTime=now&returnDirections=true&directionsLanguage=es

  2. Find routes and directions-πŸ’‘ Examples-Job: Find multiple routes - βœ… 2. Find multiple routes (check status) POST https://{{logistics-service}}.arcgis.com/arcgis/rest/services/World/Route/GPServer/FindRoutes/jobs/:job-id

  3. Find routes and directions-πŸ’‘ Examples-Job: Find multiple routes - βœ… 3. Find multiple routes (get output_routes) POST https://{{logistics-service}}.arcgis.com/arcgis/rest/services/World/Route/GPServer/FindRoutes/jobs/:job-id/results/Output_Routes

  4. Find routes and directions - ➑️ route-direct-spec GET https://{{route-service}}.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve

  5. Find routes and directions - πŸ”„ routes-job-spec POST https://{{logistics-service}}.arcgis.com/arcgis/rest/services/World/Route/GPServer/FindRoutes/submitJob

  6. Optimized routing-πŸ’‘ Examples-Direct: Find an optimized route - Direct: Find an optimized route and directions POST https://{{route-service}}.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve

  7. Optimized routing-πŸ’‘ Examples-Job: Find an optimized route for a truck delivery - 1. Submit job POST https://{{logistics-service}}.arcgis.com/arcgis/rest/services/World/Route/GPServer/FindRoutes/submitJob

  8. Optimized routing-πŸ’‘ Examples-Job: Find an optimized route for a truck delivery - 2. Check status POST https://{{logistics-service}}.arcgis.com/arcgis/rest/services/World/Route/GPServer/FindRoutes/jobs/jc4e152dbe30c4594ada71ad5c8ea0800

  9. Optimized routing-πŸ’‘ Examples-Job: Find an optimized route for a truck delivery - 3. Get route POST https://{{logistics-service}}.arcgis.com/arcgis/rest/services/World/Route/GPServer/FindRoutes/jobs/jc4e152dbe30c4594ada71ad5c8ea0800/results/Output_Routes

  10. Fleet routing (VRP / TSP)-πŸ’‘ Examples-Direct: Find optimized routes and directions - Fleet routing - Find optimized routes and directions POST https://{{logistics-service}}.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblemSync/GPServer/EditVehicleRoutingProblem/execute