https://wiki.openraildata.com//index.php?title=GetFastestDepartures&feed=atom&action=history
GetFastestDepartures - Revision history
2024-03-28T16:20:05Z
Revision history for this page on the wiki
MediaWiki 1.33.1
https://wiki.openraildata.com//index.php?title=GetFastestDepartures&diff=1881&oldid=prev
Q: GetFastestDepartures Sample query & responses
2016-10-18T20:57:38Z
<p>GetFastestDepartures Sample query & responses</p>
<p><b>New page</b></p><div>Sample query & responses are shown below;<br />
<br />
LDB-PUBLIC <BR><br />
[https://lite.realtime.nationalrail.co.uk/OpenLDBWS/ldb9.asmx https://lite.realtime.nationalrail.co.uk/OpenLDBWS/ldb9.asmx]<br />
<br />
Query:<br />
<pre><br />
<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/"><br />
<soap:Header><br />
<typ:AccessToken><br />
<typ:TokenValue>nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn</typ:TokenValue><br />
</typ:AccessToken><br />
</soap:Header><br />
<soap:Body><br />
<ldb:GetFastestDeparturesRequest><br />
<ldb:crs>LDS</ldb:crs><br />
<ldb:filterList><br />
<ldb:crs>YRK</ldb:crs><br />
</ldb:filterList><br />
<ldb:timeOffset>0</ldb:timeOffset><br />
<ldb:timeWindow>120</ldb:timeWindow><br />
</ldb:GetFastestDeparturesRequest><br />
</soap:Body><br />
</soap:Envelope><br />
</pre><br />
<br />
Response:<br />
<pre><br />
<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"><br />
<soap:Body><br />
<GetFastestDeparturesResponse xmlns="http://thalesgroup.com/RTTI/2016-02-16/ldb/"><br />
<DeparturesBoard 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"><br />
<lt4:generatedAt>2016-10-18T21:53:42.6208277+01:00</lt4:generatedAt><br />
<lt4:locationName>Leeds</lt4:locationName><br />
<lt4:crs>LDS</lt4:crs><br />
<lt4:platformAvailable>true</lt4:platformAvailable><br />
<lt5:departures><br />
<lt5:destination crs="YRK"><br />
<lt5:service><br />
<lt4:sta>22:30</lt4:sta><br />
<lt4:eta>22:38</lt4:eta><br />
<lt4:std>22:33</lt4:std><br />
<lt4:etd>22:39</lt4:etd><br />
<lt4:platform>15B</lt4:platform><br />
<lt4:operator>TransPennine Express</lt4:operator><br />
<lt4:operatorCode>TP</lt4:operatorCode><br />
<lt4:serviceType>train</lt4:serviceType><br />
<lt4:delayReason>This train has been delayed by a broken down train</lt4:delayReason><br />
<lt4:serviceID>w4cW7jHkf1hS1TQwc5EjlQ==</lt4:serviceID><br />
<lt5:rsid>TP536400</lt5:rsid><br />
<lt5:origin><br />
<lt4:location><br />
<lt4:locationName>Manchester Airport</lt4:locationName><br />
<lt4:crs>MIA</lt4:crs><br />
</lt4:location><br />
</lt5:origin><br />
<lt5:destination><br />
<lt4:location><br />
<lt4:locationName>York</lt4:locationName><br />
<lt4:crs>YRK</lt4:crs><br />
</lt4:location><br />
</lt5:destination><br />
</lt5:service><br />
</lt5:destination><br />
</lt5:departures><br />
</DeparturesBoard><br />
</GetFastestDeparturesResponse><br />
</soap:Body><br />
</soap:Envelope><br />
</pre><br />
<br />
<br />
LDB-STAFF <BR><br />
[https://lite.realtime.nationalrail.co.uk/OpenLDBSVWS/ldbsv10.asmx https://lite.realtime.nationalrail.co.uk/OpenLDBSVWS/ldbsv10.asmx]<br />
<br />
Query:<br />
<pre><br />
<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/"><br />
<soap:Header><br />
<typ:AccessToken><br />
<typ:TokenValue>nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn</typ:TokenValue><br />
</typ:AccessToken><br />
</soap:Header><br />
<soap:Body><br />
<ldb:GetFastestDeparturesRequest><br />
<ldb:crs>LDS</ldb:crs><br />
<ldb:filterList><br />
<ldb:crs>YRK</ldb:crs><br />
</ldb:filterList><br />
<ldb:time>21:55:00</ldb:time><br />
<ldb:timeWindow>120</ldb:timeWindow><br />
<ldb:filterTOC></ldb:filterTOC><br />
<ldb:services>PBS</ldb:services><br />
</ldb:GetFastestDeparturesRequest><br />
</soap:Body><br />
</soap:Envelope><br />
</pre><br />
<br />
Response:<br />
<pre><br />
<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"><br />
<soap:Body><br />
<GetFastestDeparturesResponse xmlns="http://thalesgroup.com/RTTI/2016-02-16/ldbsv/"><br />
<DeparturesBoard 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"><br />
<t6:generatedAt>2016-10-18T21:56:23.4554368+01:00</t6:generatedAt><br />
<t6:locationName>Leeds</t6:locationName><br />
<t6:crs>LDS</t6:crs><br />
<t6:stationManager>Network Rail</t6:stationManager><br />
<t6:stationManagerCode>RT</t6:stationManagerCode><br />
<departures xmlns="http://thalesgroup.com/RTTI/2016-02-16/ldbsv/types"><br />
<destination crs="YRK"><br />
<service><br />
<rid>201610188970730</rid><br />
<uid>Y70730</uid><br />
<trainid>1P64</trainid><br />
<rsid>TP536400</rsid><br />
<sdd>2016-10-18</sdd><br />
<operator>TransPennine Express</operator><br />
<operatorCode>TP</operatorCode><br />
<sta>2016-10-18T22:30:00</sta><br />
<eta>2016-10-18T22:38:12</eta><br />
<arrivalType>Forecast</arrivalType><br />
<std>2016-10-18T22:33:00</std><br />
<etd>2016-10-18T22:39:12</etd><br />
<departureType>Forecast</departureType><br />
<departureSource>Darwin</departureSource><br />
<platform>15B</platform><br />
<origin><br />
<t6:location><br />
<t5:locationName>Manchester Airport</t5:locationName><br />
<t5:crs>MIA</t5:crs><br />
<t5:tiploc>MNCRIAP</t5:tiploc><br />
</t6:location><br />
</origin><br />
<destination><br />
<t6:location><br />
<t5:locationName>York</t5:locationName><br />
<t5:crs>YRK</t5:crs><br />
<t5:tiploc>YORK</t5:tiploc><br />
</t6:location><br />
</destination><br />
<delayReason tiploc="">501</delayReason><br />
<category>XX</category><br />
<activities>T</activities><br />
</service><br />
</destination><br />
</departures><br />
</DeparturesBoard><br />
</GetFastestDeparturesResponse><br />
</soap:Body><br />
</soap:Envelope><br />
</pre><br />
<br />
{{Navtable-NreDataFeeds}}<br />
<br />
[[Category:National Rail Enquiries Data Feeds]]</div>
Q