This documentation presents the REST APIs of TourSolver Cloud.
The REST APIs provide programmatic access to creation, launching and reading of TourSolver optimizations.
Thus you'll be able to plan and optimize order deliveries while conforming to many constraints,
defined on customers, resources and depots. You can also use this API to publish your optimized tour plans to Toursolver Mobile App and follow the fulfilment.
The main services are :
-
optimize : send your data and start the optimization
-
status : follow the optimization process (cost, distance and time evolution)
-
stop : you can set a maximum optimization time, but you can also stop the optimization when you decide (ex: if global cost has not changed for a while)
-
result / toursResult : retrieve the optimized result (bulk or tour organized)
-
exportToOperationalPlanning : publish the result on Toursolver Mobile app
-
fulfillment : follow the fulfillment of the route plans by yours resources on the field
If you don't need to follow the optimization process, you can use our webhook system : just start the optimization and the result will be automatically posted when ready to your server.
If you don't want to build a result page, just integrate Toursolver result page in your app (more details in the tutorial).