GET triptimes
Returns a list of triptimes based on the provided information.
Resource URL
http://api.rgrta.com/triptimes
Parameters
tripid
optional
|
Specifies the Trip ID, which can be obtained from the API using the Trip methods.
Example Value: 12345 |
runid
optional |
Specifies the Run ID.
Example Value: 91180 |
stopnum
optional
|
Specifies the Stop Num, which is referenced in the LineStop methods.
Example Value: 20130815 |
eventtype
optional
|
The type of event that this time point relates to. See the TripTime object for more information on available values.
Example Value: 12345 |
Response Object
TripTime
Example Request
GET - http://api.rgrta.com/triptimes?tripid=274450
[
{
"StopNum":538,
"EventType":1,
"TripId":274450,
"ETime":"5:09:00",
"RunId":74529
},
{
"StopNum":147,
"EventType":3,
"TripId":274450,
"ETime":"5:19:00",
"RunId":74529
},
{
"StopNum":166,
"EventType":3,
"TripId":274450,
"ETime":"5:27:00",
"RunId":74529
},
...,
{
"StopNum":110,
"EventType":3,
"TripId":274450,
"ETime":"5:55:00",
"RunId":74529
}
]