Ero sivun ”Journeys API” versioiden välillä

6 merkkiä poistettu ,  6. heinäkuuta 2014 kello 02.00
Rivi 146: Rivi 146:
* http://example.com/journeys/api/lines?lineName=13 will return LINES which name contains text "13" (case-insensitive)
* http://example.com/journeys/api/lines?lineName=13 will return LINES which name contains text "13" (case-insensitive)
* http://example.com/journeys/api/lines?lineDescription=Hermia will return LINES which description contains text "Hermia" (case-insensitive)
* http://example.com/journeys/api/lines?lineDescription=Hermia will return LINES which description contains text "Hermia" (case-insensitive)
* http://example.com/journeys/api/journeys?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/journeys?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


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