GetArrivalDepartureBoard
Sample query & responses are shown below;
LDB-PUBLIC
https://lite.realtime.nationalrail.co.uk/OpenLDBWS/ldb9.asmx
Query:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:typ="http://thalesgroup.com/RTTI/2013-11-28/Token/types" xmlns:ldb="http://thalesgroup.com/RTTI/2016-02-16/ldb/"> <soap:Header> <typ:AccessToken> <typ:TokenValue>nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn</typ:TokenValue> </typ:AccessToken> </soap:Header> <soap:Body> <ldb:GetArrivalDepartureBoardRequest> <ldb:numRows>2</ldb:numRows> <ldb:crs>LDS</ldb:crs> <ldb:timeOffset>0</ldb:timeOffset> <ldb:timeWindow>120</ldb:timeWindow> </ldb:GetArrivalDepartureBoardRequest> </soap:Body> </soap:Envelope>
Response:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetArrivalDepartureBoardResponse xmlns="http://thalesgroup.com/RTTI/2016-02-16/ldb/"> <GetStationBoardResult xmlns:lt3="http://thalesgroup.com/RTTI/2015-05-14/ldb/types" xmlns:lt5="http://thalesgroup.com/RTTI/2016-02-16/ldb/types" xmlns:lt4="http://thalesgroup.com/RTTI/2015-11-27/ldb/types" xmlns:lt="http://thalesgroup.com/RTTI/2012-01-13/ldb/types" xmlns:lt2="http://thalesgroup.com/RTTI/2014-02-20/ldb/types"> <lt4:generatedAt>2016-10-18T21:35:13.6348949+01:00</lt4:generatedAt> <lt4:locationName>Leeds</lt4:locationName> <lt4:crs>LDS</lt4:crs> <lt4:platformAvailable>true</lt4:platformAvailable> <lt5:trainServices> <lt5:service> <lt4:std>21:26</lt4:std> <lt4:etd>21:33</lt4:etd> <lt4:platform>5B</lt4:platform> <lt4:operator>Northern</lt4:operator> <lt4:operatorCode>NT</lt4:operatorCode> <lt4:serviceType>train</lt4:serviceType> <lt4:serviceID>LZONDRoI/KNSLFId0XD/WQ==</lt4:serviceID> <lt5:rsid>NT679600</lt5:rsid> <lt5:origin> <lt4:location> <lt4:locationName>Leeds</lt4:locationName> <lt4:crs>LDS</lt4:crs> </lt4:location> </lt5:origin> <lt5:destination> <lt4:location> <lt4:locationName>Skipton</lt4:locationName> <lt4:crs>SKI</lt4:crs> </lt4:location> </lt5:destination> </lt5:service> <lt5:service> <lt4:sta>21:32</lt4:sta> <lt4:eta>21:37</lt4:eta> <lt4:platform>2A</lt4:platform> <lt4:operator>Northern</lt4:operator> <lt4:operatorCode>NT</lt4:operatorCode> <lt4:serviceType>train</lt4:serviceType> <lt4:serviceID>HfoXxHZ7R52oKJ0Vlvd32g==</lt4:serviceID> <lt5:rsid>NT966100</lt5:rsid> <lt5:origin> <lt4:location> <lt4:locationName>Skipton</lt4:locationName> <lt4:crs>SKI</lt4:crs> </lt4:location> </lt5:origin> <lt5:destination> <lt4:location> <lt4:locationName>Leeds</lt4:locationName> <lt4:crs>LDS</lt4:crs> </lt4:location> </lt5:destination> </lt5:service> </lt5:trainServices> </GetStationBoardResult> </GetArrivalDepartureBoardResponse> </soap:Body> </soap:Envelope>
National Rail Enquiries Data Feeds | |
---|---|
Data Feeds | About the Feeds • Darwin Webservice (Public) • Darwin Webservice (Staff) • Historical Service Performance • Push Port • KnowledgeBase • DTD • Locations (PoC) • Real Time Journey Planner |
LDB API | About |
LDB-SV API | About |
HSP | About |
DTD | About • Fares • Timetable |
Push Port | About • XML Schemas • Schedules • Associations • Train Status • Station Messages • Alarms • Train Order • Train Alerts • Formations • Formation loading |