Siirry sisältöön

Ero sivun ”Journeys API” versioiden välillä

211 merkkiä lisätty ,  5. heinäkuuta 2014 kello 03.25
Rivi 148: Rivi 148:
* http://example.com/journeys/api/journeys?routeId=123 will return LINES which run on the ROUTE with id 123
* http://example.com/journeys/api/journeys?routeId=123 will return LINES which run on the ROUTE 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).
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:
* http://example.com/journeys/api/journeys?routeId=123&lineName=13 will return LINES which run on the ROUTE with id 123 AND belongs to a LINE with name containing text "13" (case-insensitive)


==== Routes ====
==== Routes ====
0

muokkausta