Meta-data about the trip search performed.
name | data type | constraints | description |
---|---|---|---|
searchWindowUsed | number | required | This is the time window used by the raptor search. The window is an optional parameter and
OTP might override it/dynamically assign a new value.
Note! The `searchWindowUsed` is NOT adjusted in the post-search-filtering. If the
Unit : seconds |
nextDateTime | number | This is the suggested search time for the "next page" or time-window. Insert it together
with the searchWindowUsed in the request to get a new set of trips following in the
time-window AFTER the current search. No duplicate trips should be returned, unless a trip
is delayed and new realtime-data is available.
Be careful to use paging/scrolling with the
If OTP for some reason is not able to calculate this value then it will be Unit : epoch milliseconds |
|
prevDateTime | number | This is the suggested search time for the "previous page" or time window. Insert it together
with the searchWindowUsed in the request to get a new set of trips preceding in the
time-window BEFORE the current search. No duplicate trips should be returned, unless a trip
is delayed and new realtime-data is available.
Be careful to use paging/scrolling with the
If OTP for some reason is not able to calculate this value then it will be Unit : epoch milliseconds |
Example
{ "searchWindowUsed" : 12345, "nextDateTime" : 12345, "prevDateTime" : 12345 }