Ero sivun ”Journeys API” versioiden välillä

567 merkkiä lisätty ,  6. lokakuuta 2014 kello 02.51
Rivi 558: Rivi 558:
* vehicleRef uniquely identifies the monitored vehicle
* vehicleRef uniquely identifies the monitored vehicle
* onwardCalls contains a list of stops where the vehicle is stopping next as well as estimated times on each stop. Each onwardCall also contains stopPointRef which points back to Journeys API and provides more information on the stop in question
* onwardCalls contains a list of stops where the vehicle is stopping next as well as estimated times on each stop. Each onwardCall also contains stopPointRef which points back to Journeys API and provides more information on the stop in question
The client can filter activity by issuing following query parameters:
* lineRef, which filters away everything except activity on given line
* vehicleRef, which filters away everything except activity on given vehicle
* journeyRef, which filters away everything except activity on given journey. Takes form: [lineId]_[start time as HHmm]_[last stop id]_[first stop id], for example journeyRef=2_2230_0001_1234 would obtain activity
* on line 2
* on journey which started today at 22:30
* on journey which started from stop 0001
* on journey which ends to stop 1234
0

muokkausta