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?
The current API does not support rounds, but our next API v2 does.
1 Like
@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=[...]
The parameters should not be JSON encoded. Try this:
parameters[type]=car¶meters[rounds]=3&locations=[...]
1 Like