GetServiceDetails: Difference between revisions
GetServiceDetails Sample query & responses |
(No difference)
|
Latest revision as of 21:21, 18 October 2016
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:GetServiceDetailsRequest> <ldb:serviceID>C8oHyl551Y7OqoEXb6dJGg==</ldb:serviceID> </ldb:GetServiceDetailsRequest> </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> <GetServiceDetailsResponse xmlns="http://thalesgroup.com/RTTI/2016-02-16/ldb/"> <GetServiceDetailsResult 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-18T22:20:10.0727466+01:00</lt4:generatedAt> <lt4:serviceType>train</lt4:serviceType> <lt4:locationName>Leeds</lt4:locationName> <lt4:crs>LDS</lt4:crs> <lt4:operator>Northern</lt4:operator> <lt4:operatorCode>NT</lt4:operatorCode> <lt4:platform>12C</lt4:platform> <lt4:std>22:40</lt4:std> <lt4:etd>On time</lt4:etd> <lt4:subsequentCallingPoints> <lt4:callingPointList> <lt4:callingPoint> <lt4:locationName>Outwood</lt4:locationName> <lt4:crs>OUT</lt4:crs> <lt4:st>22:49</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:53</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:56</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Fitzwilliam</lt4:locationName> <lt4:crs>FZW</lt4:crs> <lt4:st>23:02</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>South Elmsall</lt4:locationName> <lt4:crs>SES</lt4:crs> <lt4:st>23:08</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Adwick</lt4:locationName> <lt4:crs>AWK</lt4:crs> <lt4:st>23:13</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Bentley (South Yorkshire)</lt4:locationName> <lt4:crs>BYK</lt4:crs> <lt4:st>23:18</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> <lt4:callingPoint> <lt4:locationName>Doncaster</lt4:locationName> <lt4:crs>DON</lt4:crs> <lt4:st>23:28</lt4:st> <lt4:et>On time</lt4:et> </lt4:callingPoint> </lt4:callingPointList> </lt4:subsequentCallingPoints> <lt5:rsid>NT020800</lt5:rsid> </GetServiceDetailsResult> </GetServiceDetailsResponse> </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 |