Developer Resources

getreroutesbyroute

Get all currently active reroutes that affect the specified route.

URL

https://developer.mtd.org/api/{version}/{format}/getreroutesbyroute

Remarks

These results include all reroutes and the routes that they affect.

message and description fields will use a \n and 
 character for line breaks in the JSON and XML endpoints respectively.

Note that, due to the nature of our real-time system, we cannot show information about the stops that reroutes affect.

Parameters

key (required) your API key
route_id (required) semi-colon (;) separated list of route Ids to get reroutes for
changeset_id (optional) see interpretting responses for more information

Response

start_date approximate start date of the reroute
end_date approximate end date of the reroute
message a short message describing the reroute.
description a more complete description of the reroute
affected_routes all routes that are affected by a reroute

Sample