approved, byrokraatit, ylläpitäjät
0
muokkausta
(→Lines) |
(→Lines) |
||
Rivi 154: | Rivi 154: | ||
* http://data.itsfactory.fi/journeys/api/1/lines?lastStopPointId=111 will return LINES which stop at STOP POINT with id 111 | * http://data.itsfactory.fi/journeys/api/1/lines?lastStopPointId=111 will return LINES which stop at STOP POINT with id 111 | ||
* http://data.itsfactory.fi/journeys/api/1/lines?stopPointShortName=5370 will return LINES which run via STOP POINT with short name 5370 | * http://data.itsfactory.fi/journeys/api/1/lines?stopPointShortName=5370 will return LINES which run via STOP POINT with short name 5370 | ||
* http://data.itsfactory.fi/journeys/api/1/lines?firstStopPointShortName= | * http://data.itsfactory.fi/journeys/api/1/lines?firstStopPointShortName=5394 will return LINES which start from STOP POINT with short name 5394 | ||
* http://data.itsfactory.fi/journeys/api/1/lines?lastStopPointShortName= | * http://data.itsfactory.fi/journeys/api/1/lines?lastStopPointShortName=5394 will return LINES which stop at STOP POINT with short name 5394 | ||
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: |