Ero sivun ”Journeys API” versioiden välillä

38 merkkiä poistettu ,  6. heinäkuuta 2014 kello 01.03
Rivi 148: Rivi 148:
* http://example.com/journeys/api/lines?routeId=123 will return LINES which run on the ROUTE with id 123
* http://example.com/journeys/api/lines?routeId=123 will return LINES which run on the ROUTE with id 123
* http://example.com/journeys/api/lines?stopPointId=222 will return LINES which run via STOP POINT with id 123
* http://example.com/journeys/api/lines?stopPointId=222 will return LINES which run via STOP POINT with id 123
* http://example.com/journeys/api/lines?firstStopPointId=111 will return JOURNEYS which first call which contains STOP POINT with id 111
* http://example.com/journeys/api/lines?firstStopPointId=111 will return LINES which start from STOP POINT with id 111
* http://example.com/journeys/api/lines?lastStopPointId=111 will return JOURNEYS which last call which contains STOP POINT with id 111
* http://example.com/journeys/api/lines?lastStopPointId=111 will return LINES which stop at STOP POINT with id 111


These queries return response like above, with entities matching the criteria. All query parameters are exclusive (if you specify multiple conditions, the conditions are ANDed together). For example query:
These queries return response like above, with entities matching the criteria. All query parameters are exclusive (if you specify multiple conditions, the conditions are ANDed together). For example query:
0

muokkausta