Ero sivun ”Journeys API” versioiden välillä

282 merkkiä lisätty ,  4. heinäkuuta 2014 kello 21.19
Rivi 216: Rivi 216:
* http://example.com/journeys/api/journeys?dayTypeExceptionId=111 will return JOURNEYS which have a DAY TYPE EXCEPTION with id 111
* http://example.com/journeys/api/journeys?dayTypeExceptionId=111 will return JOURNEYS which have a DAY TYPE EXCEPTION with id 111
* http://example.com/journeys/api/journeys?stopPointId=111 will return JOURNEYS which contains a CALL which contains STOP POINT with id 111
* http://example.com/journeys/api/journeys?stopPointId=111 will return JOURNEYS which contains a CALL which contains STOP POINT with id 111
* http://example.com/journeys/api/journeys?lastCallStopArrivalTime=08:20:00+0300 will return JOURNEYS which last CALL arrives at STOP POINT at 08:20:00+0300
* http://example.com/journeys/api/journeys?lastCallStopPointArrivalTime=08:20:00+0300 will return JOURNEYS which last CALL arrives at STOP POINT at 08:20:00+0300
 
* http://example.com/journeys/api/journeys?firstStopPointId=111 will return JOURNEYS which first CALL which contains STOP POINT with id 111
* http://example.com/journeys/api/journeys?lastStopPointId=111 will return JOURNEYS which last CALL which contains 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).
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).
0

muokkausta