Generate optimal route plan of a vehicle fleet with limited vehicle capacity and time windows. New visits may be added by clicking anywhere inside the map.
| Total driving time: | unknown |
| Name | Load | Tags | Driving time |
|---|
curl -X GET -H 'Accept:application/json' http://localhost:8080/demo-data/FIRENZE -o sample.json
The POST operation returns a jobId that should be used in subsequent commands.
you need to use API key. Key is stored in Mathesio bitwarden vault, in "timefold routing" collection. To use it, you need to add header x-api-key={secret from bitwarden}
curl -X POST -H 'Content-Type:application/json' -H 'x-api-key::secret from bitwarden' http://localhost:8080/route-plans -d@sample.json
curl -X GET -H 'Accept:application/json' http://localhost:8080/route-plans/{jobId}/status
curl -X GET -H 'Accept:application/json' http://localhost:8080/route-plans/{jobId}
curl -X DELETE -H 'Accept:application/json' http://localhost:8080/route-plans/{jobId}