GET rtroutes
Returns route data based on the provided information.
Resource URL
http://api.rgrta.com/rtroutes
Parameters
routeid
optional
|
Specifies the route ID.
Example Value: 270 |
routename
optional
|
Specifies the full route name.
Example Value: 1X/18X - Lake/University |
routenum
optional |
Specifies the short route number for the route.
Example Value: 1X/18X |
main
optional |
A flag to specify if the response should only return the main routes without any ETS routes. If you wish to only have main routes, this field should be set to "1".
Example Value: 1 |
Response Object
RTRoute
Example Request
GET - http://api.rgrta.com/rtroutes?routeid=1
[
{
"RouteId":1,
"RouteName":"1 - Lake / Park",
"RouteNum":"1",
"RouteText":"Lake / Park"
}
]