GetDepBoardWithDetails
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:GetDepBoardWithDetailsRequest> <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:GetDepBoardWithDetailsRequest> </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> <GetDepBoardWithDetailsResponse 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:48:00.2988165+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:48</lt4:std> <lt4:etd>On time</lt4:etd> <lt4:platform>12D</lt4:platform> <lt4:operator>Northern</lt4:operator> <lt4:operatorCode>NT</lt4:operatorCode> <lt4:serviceType>train</lt4:serviceType> <lt4:serviceID>BbiHge2XBAOiBXbapzev2Q==</lt4:serviceID> <lt5:rsid>NT032600</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>Sheffield</lt4:locationName> <lt4:crs>SHF</lt4:crs> </lt4:location> </lt5:destination> <lt5:subsequentCallingPoints> <lt4:callingPointList> <lt4:callingPoint> <lt4:locationName>Outwood</lt4:locationName> <lt4:crs>OUT</lt4:crs> <lt4:st>21:59</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Wakefield Westgate</lt4:locationName> <lt4:crs>WKF</lt4:crs> <lt4:st>22:04</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Sandal & Agbrigg</lt4:locationName> <lt4:crs>SNA</lt4:crs> <lt4:st>22:08</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Fitzwilliam</lt4:locationName> <lt4:crs>FZW</lt4:crs> <lt4:st>22:15</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Moorthorpe</lt4:locationName> <lt4:crs>MRP</lt4:crs> <lt4:st>22:21</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Thurnscoe</lt4:locationName> <lt4:crs>THC</lt4:crs> <lt4:st>22:27</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Goldthorpe</lt4:locationName> <lt4:crs>GOE</lt4:crs> <lt4:st>22:29</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Bolton-on-Dearne</lt4:locationName> <lt4:crs>BTD</lt4:crs> <lt4:st>22:32</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Swinton (South Yorkshire)</lt4:locationName> <lt4:crs>SWN</lt4:crs> <lt4:st>22:36</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Rotherham Central</lt4:locationName> <lt4:crs>RMC</lt4:crs> <lt4:st>22:46</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Meadowhall</lt4:locationName> <lt4:crs>MHS</lt4:crs> <lt4:st>22:51</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Sheffield</lt4:locationName> <lt4:crs>SHF</lt4:crs> <lt4:st>23:02</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> </lt4:callingPointList> </lt5:subsequentCallingPoints> </lt5:service> <lt5:service> <lt4:std>21:50</lt4:std> <lt4:etd>On time</lt4:etd> <lt4:platform>11C</lt4:platform> <lt4:operator>Northern</lt4:operator> <lt4:operatorCode>NT</lt4:operatorCode> <lt4:serviceType>train</lt4:serviceType> <lt4:serviceID>CFliBf9VE0lQnsZN7FELVQ==</lt4:serviceID> <lt5:rsid>NT640500</lt5:rsid> <lt5:origin> <lt4:location> <lt4:locationName>Blackpool North</lt4:locationName> <lt4:crs>BPN</lt4:crs> </lt4:location> </lt5:origin> <lt5:destination> <lt4:location> <lt4:locationName>York</lt4:locationName> <lt4:crs>YRK</lt4:crs> </lt4:location> </lt5:destination> <lt5:subsequentCallingPoints> <lt4:callingPointList> <lt4:callingPoint> <lt4:locationName>Cross Gates</lt4:locationName> <lt4:crs>CRG</lt4:crs> <lt4:st>21:56</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Garforth</lt4:locationName> <lt4:crs>GRF</lt4:crs> <lt4:st>22:01</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>East Garforth</lt4:locationName> <lt4:crs>EGF</lt4:crs> <lt4:st>22:04</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Micklefield</lt4:locationName> <lt4:crs>MIK</lt4:crs> <lt4:st>22:08</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Church Fenton</lt4:locationName> <lt4:crs>CHF</lt4:crs> <lt4:st>22:14</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Ulleskelf</lt4:locationName> <lt4:crs>ULL</lt4:crs> <lt4:st>22:18</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>York</lt4:locationName> <lt4:crs>YRK</lt4:crs> <lt4:st>22:30</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> </lt4:callingPointList> </lt5:subsequentCallingPoints> </lt5:service> </lt5:trainServices> </GetStationBoardResult> </GetDepBoardWithDetailsResponse> </soap:Body> </soap:Envelope>
LDB-STAFF
https://lite.realtime.nationalrail.co.uk/OpenLDBSVWS/ldbsv10.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/ldbsv/"> <soap:Header> <typ:AccessToken> <typ:TokenValue>nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn</typ:TokenValue> </typ:AccessToken> </soap:Header> <soap:Body> <ldb:GetDepBoardWithDetailsRequest> <ldb:numRows>2</ldb:numRows> <ldb:crs>LDS</ldb:crs> <ldb:time>2016-10-18T21:50:00</ldb:time> <ldb:timeWindow>5</ldb:timeWindow> <ldb:filtercrs></ldb:filtercrs> <ldb:filterType>to</ldb:filterType> <ldb:filterTOC></ldb:filterTOC> <ldb:services>PBS</ldb:services> <ldb:getNonPassengerServices>true</ldb:getNonPassengerServices> </ldb:GetDepBoardWithDetailsRequest> </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> <GetDepBoardWithDetailsResponse xmlns="http://thalesgroup.com/RTTI/2016-02-16/ldbsv/"> <GetBoardWithDetailsResult xmlns:c1="http://thalesgroup.com/RTTI/2007-10-10/ldb/commontypes" xmlns:t6="http://thalesgroup.com/RTTI/2014-02-20/ldbsv/types" xmlns:t5="http://thalesgroup.com/RTTI/2012-01-13/ldbsv/types"> <t6:generatedAt>2016-10-18T21:50:38.6773826+01:00</t6:generatedAt> <t6:locationName>Leeds</t6:locationName> <t6:crs>LDS</t6:crs> <t6:stationManager>Network Rail</t6:stationManager> <t6:stationManagerCode>RT</t6:stationManagerCode> <isTruncated xmlns="http://thalesgroup.com/RTTI/2016-02-16/ldbsv/types">true</isTruncated> <trainServices xmlns="http://thalesgroup.com/RTTI/2016-02-16/ldbsv/types"> <service> <rid>201610188971858</rid> <uid>Y71858</uid> <trainid>5D24</trainid> <sdd>2016-10-18</sdd> <operator>Virgin Trains East Coast</operator> <operatorCode>GR</operatorCode> <isPassengerService>false</isPassengerService> <isOperationalCall>true</isOperationalCall> <sta>2016-10-18T21:34:30</sta> <ata>2016-10-18T21:40:43</ata> <arrivalType>Actual</arrivalType> <std>2016-10-18T21:46:00</std> <departureType>Delayed</departureType> <platform>TBC</platform> <platformIsHidden>true</platformIsHidden> <origin> <t6:location> <t5:locationName>Harrogate</t5:locationName> <t5:crs>HGT</t5:crs> <t5:tiploc>HAGT</t5:tiploc> <t6:isOperationalEndPoint>true</t6:isOperationalEndPoint> </t6:location> </origin> <destination> <t6:location> <t5:locationName>NEVLTMD</t5:locationName> <t5:tiploc>NEVLTMD</t5:tiploc> <t6:isOperationalEndPoint>true</t6:isOperationalEndPoint> </t6:location> </destination> <category>EE</category> <activities>OP</activities> <subsequentLocations> <location> <locationName>MRLNJN</locationName> <tiploc>MRLNJN</tiploc> <isPass>true</isPass> <platformIsHidden>true</platformIsHidden> <std>2016-10-18T21:49:00</std> <departureType>Delayed</departureType> </location> <location> <locationName>NEVLWJN</locationName> <tiploc>NEVLWJN</tiploc> <isPass>true</isPass> <platformIsHidden>true</platformIsHidden> <std>2016-10-18T21:52:00</std> <departureType>Delayed</departureType> </location> <location> <locationName>NEVLTMD</locationName> <tiploc>NEVLTMD</tiploc> <isOperational>true</isOperational> <platformIsHidden>true</platformIsHidden> <sta>2016-10-18T21:56:00</sta> <arrivalType>Delayed</arrivalType> </location> </subsequentLocations> </service> <service> <rid>201610188924638</rid> <uid>Y24638</uid> <trainid>2N43</trainid> <rsid>NT032600</rsid> <sdd>2016-10-18</sdd> <operator>Northern</operator> <operatorCode>NT</operatorCode> <std>2016-10-18T21:48:00</std> <atd>2016-10-18T21:48:41</atd> <departureType>Actual</departureType> <departureSource>TD</departureSource> <platform>12D</platform> <origin> <t6:location> <t5:locationName>Leeds</t5:locationName> <t5:crs>LDS</t5:crs> <t5:tiploc>LEEDS</t5:tiploc> </t6:location> </origin> <destination> <t6:location> <t5:locationName>Sheffield</t5:locationName> <t5:crs>SHF</t5:crs> <t5:tiploc>SHEFFLD</t5:tiploc> </t6:location> </destination> <category>OO</category> <activities>TB</activities> <subsequentLocations> <location> <locationName>LEEDSWJ</locationName> <tiploc>LEEDSWJ</tiploc> <isPass>true</isPass> <platformIsHidden>true</platformIsHidden> <std>2016-10-18T21:49:00</std> <etd>2016-10-18T21:49:41</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>WHRDJN</locationName> <tiploc>WHRDJN</tiploc> <isPass>true</isPass> <platformIsHidden>true</platformIsHidden> <std>2016-10-18T21:49:30</std> <etd>2016-10-18T21:50:36</etd> <departureType>Forecast</departureType> <departureSource>TD</departureSource> </location> <location> <locationName>HOLBJCN</locationName> <tiploc>HOLBJCN</tiploc> <isPass>true</isPass> <platformIsHidden>true</platformIsHidden> <std>2016-10-18T21:50:00</std> <etd>2016-10-18T21:51:06</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Outwood</locationName> <tiploc>OUTWOOD</tiploc> <crs>OUT</crs> <platform>1</platform> <sta>2016-10-18T21:59:00</sta> <eta>2016-10-18T21:59:36</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> <std>2016-10-18T21:59:00</std> <etd>2016-10-18T22:00:06</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Wakefield Westgate</locationName> <tiploc>WKFLDWG</tiploc> <crs>WKF</crs> <platform>1</platform> <sta>2016-10-18T22:04:00</sta> <eta>2016-10-18T22:04:00</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> <std>2016-10-18T22:05:00</std> <etd>2016-10-18T22:05:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Sandal & Agbrigg</locationName> <tiploc>SABR</tiploc> <crs>SNA</crs> <platform>1</platform> <sta>2016-10-18T22:08:00</sta> <eta>2016-10-18T22:08:00</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> <std>2016-10-18T22:08:00</std> <etd>2016-10-18T22:08:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>HAREPKJ</locationName> <tiploc>HAREPKJ</tiploc> <isPass>true</isPass> <platformIsHidden>true</platformIsHidden> <std>2016-10-18T22:11:30</std> <etd>2016-10-18T22:11:30</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Fitzwilliam</locationName> <tiploc>FITZWLM</tiploc> <crs>FZW</crs> <platform>1</platform> <sta>2016-10-18T22:15:00</sta> <eta>2016-10-18T22:15:00</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> <std>2016-10-18T22:15:00</std> <etd>2016-10-18T22:15:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>SKIRBYJ</locationName> <tiploc>SKIRBYJ</tiploc> <isPass>true</isPass> <platformIsHidden>true</platformIsHidden> <std>2016-10-18T22:20:00</std> <etd>2016-10-18T22:19:30</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Moorthorpe</locationName> <tiploc>MORTHRP</tiploc> <crs>MRP</crs> <platform>1</platform> <sta>2016-10-18T22:21:00</sta> <eta>2016-10-18T22:21:00</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> <std>2016-10-18T22:21:00</std> <etd>2016-10-18T22:21:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Thurnscoe</locationName> <tiploc>TRNO</tiploc> <crs>THC</crs> <platform>1</platform> <sta>2016-10-18T22:27:00</sta> <eta>2016-10-18T22:27:00</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> <std>2016-10-18T22:27:00</std> <etd>2016-10-18T22:27:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Goldthorpe</locationName> <tiploc>GLDTHRP</tiploc> <crs>GOE</crs> <platform>1</platform> <sta>2016-10-18T22:29:00</sta> <eta>2016-10-18T22:29:00</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> <std>2016-10-18T22:29:00</std> <etd>2016-10-18T22:29:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Bolton-on-Dearne</locationName> <tiploc>BLTNODR</tiploc> <crs>BTD</crs> <platform>1</platform> <sta>2016-10-18T22:32:00</sta> <eta>2016-10-18T22:32:00</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> <std>2016-10-18T22:32:00</std> <etd>2016-10-18T22:32:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Swinton (South Yorkshire)</locationName> <tiploc>SWINTN</tiploc> <crs>SWN</crs> <platform>2</platform> <sta>2016-10-18T22:36:00</sta> <eta>2016-10-18T22:36:00</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> <std>2016-10-18T22:36:00</std> <etd>2016-10-18T22:36:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>ALDWRKJ</locationName> <tiploc>ALDWRKJ</tiploc> <isPass>true</isPass> <platformIsHidden>true</platformIsHidden> <std>2016-10-18T22:39:30</std> <etd>2016-10-18T22:39:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Rotherham Central</locationName> <tiploc>ROTHCEN</tiploc> <crs>RMC</crs> <platform>1</platform> <sta>2016-10-18T22:46:00</sta> <eta>2016-10-18T22:46:00</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> <std>2016-10-18T22:46:00</std> <etd>2016-10-18T22:46:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>ROTHHJN</locationName> <tiploc>ROTHHJN</tiploc> <isPass>true</isPass> <platformIsHidden>true</platformIsHidden> <std>2016-10-18T22:48:30</std> <etd>2016-10-18T22:48:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Meadowhall</locationName> <tiploc>MEADWHL</tiploc> <crs>MHS</crs> <platform>1</platform> <sta>2016-10-18T22:51:00</sta> <eta>2016-10-18T22:51:00</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> <std>2016-10-18T22:52:00</std> <etd>2016-10-18T22:52:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>WNCOJN</locationName> <tiploc>WNCOJN</tiploc> <isPass>true</isPass> <platformIsHidden>true</platformIsHidden> <std>2016-10-18T22:52:30</std> <etd>2016-10-18T22:52:30</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>NNRYMLJ</locationName> <tiploc>NNRYMLJ</tiploc> <isPass>true</isPass> <platformIsHidden>true</platformIsHidden> <std>2016-10-18T22:57:00</std> <etd>2016-10-18T22:56:00</etd> <departureType>Forecast</departureType> <departureSource>Darwin</departureSource> </location> <location> <locationName>Sheffield</locationName> <tiploc>SHEFFLD</tiploc> <crs>SHF</crs> <platform>8B</platform> <sta>2016-10-18T23:02:00</sta> <eta>2016-10-18T23:02:00</eta> <arrivalType>Forecast</arrivalType> <arrivalSource>Darwin</arrivalSource> </location> </subsequentLocations> </service> </trainServices> </GetBoardWithDetailsResult> </GetDepBoardWithDetailsResponse> </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 |