GET rttrips
Returns the trips that run in the system.
Resource URL
http://api.rgrta.com/rttrips
Parameters
tripid
optional
|
Specifies the trip ID.
Example Value: 3 |
routeid
optional
|
Specifies the route ID.
Example Value: 41 |
directionid
optional |
Specifies the direction id to find trips on
Example Value: 6 |
scheduleversion
optional |
The type of schedule to find trips for (WEEKDAY, SATURDAY or SUNDAY/HOL).
Example Value: WEEKDAY |
Response Object
RTTrip
Example Request
GET - http://api.rgrta.com/rttrips?tripid=3
[
{
"TripId":3,
"RouteId":41,
"SignId":200162,
"DirectionId":6,
"StartTime":"04:55:00",
"EndTime":"05:09:00",
"StartTPId":23750,
"EndTPId":277,
"ScheduleVersion":"WEEKDAY"
}
]