On the main page I can go to “Options” and select a value for ‘rounds’, which seems to split my route up in multiple smaller, I guess, “rounds”? How can I set a value for the “rounds” parameter in the API when making a call to the “tours” endpoint?
How can the "rounds" setting be used in the 'tours' endpoint?
skillzvzw
#1
skillzvzw
#3
@RouteXL how exactly do you use the parameters array? There’s no example for it.
When I send the following string as data in my post request it seems to ignore the ‘rounds’ in the parameter object:
parameters={"type": "car", "rounds": 3}&locations=[...]
RouteXL
#4
The parameters should not be JSON encoded. Try this:
parameters[type]=car¶meters[rounds]=3&locations=[...]