v1

latestSwagger 2.02026-07-1384122135.6 KB
Mode

Gets the next arrival predictions for all stops of a given mode

get/Mode/{mode}/Arrivals

Path parameters

modestring required

A mode name e.g. tube, dlr

Query parameters

countinteger

A number of arrivals to return for each stop, -1 to return all available.

Response

OK

idstring

The identitier for the prediction

operationTypeinteger

The type of the operation (1: is new or has been updated, 2: should be deleted from any client cache)

vehicleIdstring

The actual vehicle in transit (for train modes, the leading car of the rolling set)

naptanIdstring

Identifier for the prediction

stationNamestring

Station name

lineIdstring

Unique identifier for the Line

lineNamestring

Line Name

platformNamestring

Platform name (for bus, this is the stop letter)

directionstring

Direction (unified to inbound/outbound)

bearingstring

Bearing (between 0 to 359)

tripIdstring

TripId is used to assemble the primary key

baseVersionstring

Data base version

destinationNaptanIdstring

Naptan Identifier for the prediction's destination

destinationNamestring

Name of the destination

timestampstring date-time

Timestamp for when the prediction was inserted/modified (source column drives what objects are broadcast on each iteration)

timeToStationinteger

Prediction of the Time to station in seconds

currentLocationstring

The current location of the vehicle.

towardsstring

Routing information or other descriptive text about the path of the vehicle towards the destination

expectedArrivalstring date-time

The expected arrival time of the vehicle at the stop/station

timeToLivestring date-time

The expiry time for the prediction

modeNamestring

The mode name of the station/line the prediction relates to