GetArrivalBoard
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:GetArrivalBoardRequest> <ldb:numRows>2</ldb:numRows> <ldb:crs>LDS</ldb:crs> <ldb:filterCrs></ldb:filterCrs> <ldb:filterType>to</ldb:filterType> <ldb:timeOffset>0</ldb:timeOffset> <ldb:timeWindow>120</ldb:timeWindow> </ldb:GetArrivalBoardRequest> </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> <GetArrivalBoardResponse 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-18T19:17:34.2615482+01:00</lt4:generatedAt> <lt4:locationName>Leeds</lt4:locationName> <lt4:crs>LDS</lt4:crs> <lt4:platformAvailable>true</lt4:platformAvailable> <lt5:trainServices> <lt5:service> <lt4:sta>19:03</lt4:sta> <lt4:eta>19:21</lt4:eta> <lt4:platform>11D</lt4:platform> <lt4:operator>CrossCountry</lt4:operator> <lt4:operatorCode>XC</lt4:operatorCode> <lt4:serviceType>train</lt4:serviceType> <lt4:serviceID>AMQxIFns3fc8Q4+ZeM3xmw==</lt4:serviceID> <lt5:rsid>XC122000</lt5:rsid> <lt5:origin> <lt4:location> <lt4:locationName>Plymouth</lt4:locationName> <lt4:crs>PLY</lt4:crs> </lt4:location> </lt5:origin> <lt5:destination> <lt4:location> <lt4:locationName>Edinburgh</lt4:locationName> <lt4:crs>EDB</lt4:crs> </lt4:location> </lt5:destination> </lt5:service> <lt5:service> <lt4:sta>19:09</lt4:sta> <lt4:eta>19:14</lt4:eta> <lt4:platform>11A</lt4:platform> <lt4:operator>CrossCountry</lt4:operator> <lt4:operatorCode>XC</lt4:operatorCode> <lt4:serviceType>train</lt4:serviceType> <lt4:serviceID>8lEMeOVoNu2n9jNTrgzmig==</lt4:serviceID> <lt5:rsid>XC179000</lt5:rsid> <lt5:origin> <lt4:location> <lt4:locationName>Glasgow Central</lt4:locationName> <lt4:crs>GLC</lt4:crs> </lt4:location> </lt5:origin> <lt5:destination> <lt4:location> <lt4:locationName>Bristol Temple Meads</lt4:locationName> <lt4:crs>BRI</lt4:crs> <lt4:via>via Gloucester</lt4:via> </lt4:location> </lt5:destination> </lt5:service> </lt5:trainServices> </GetStationBoardResult> </GetArrivalBoardResponse> </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 |