latestSwagger 2.02026-08-10201771.8 KB

e0575f41ded3

Real Time Data

Creates list of all Regional Rail trains

Creates a list of all Regional Rail trains on the system. Showing the trains ID number, its starting location, its destination, and if its late or not

get/TrainView/index.php

Response

success

latstring

The geographical latitude of the regional rail current location

lonstring

The geographical longitude of the regional rail current location

trainnostring byte

Regional rail train number

servicestring byte

Shows if the regional rail is an express or a local

deststring

Regional rail terminating station

currentstopstring

Current stop of the transiting regional rail

nextstopstring

The next regional rail station of the transiting regional rail

linestring

Regional rail line name

consiststring byte

A list of passenger cars attached to the regional rail

headingnumber double
lateinteger

The current status of the transiting trains

SOURCEstring

Regional rail originating station

TRACKstring

The track where the regional rail is scheduled to arrive at a station

TRACK_CHANGEstring

Shows if there is a change in track for the regional rail at a station