RoutePlanner Plugin Get Route id

To get the route id of a newly created route, you can insert a variable %id% in the redirect URL of the Route Planner Plugin (or we do this in the configuration).

Example

routeyou_planner_redirect = 'http://www.routeyou.com/route/view/%id%';

Some background how it works

When the RoutePlanner submits a route, the server gives an answer back including

Once the planner "receives" a positive answer from the server and as such knowing the route id, the string %id% is passed in the URL describe in the variable routeyou_planner_redirect, and a redirect happens to that URL.

© 2006-2018 RouteYou - www.routeyou.com