GetDisruptionList
Sample query & responses are shown below;
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:GetDisruptionListRequest> <ldb:CRSList> <ldb:crs>CBG</ldb:crs> </ldb:CRSList> </ldb:GetDisruptionListRequest> </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> <GetDisruptionListResponse xmlns="http://thalesgroup.com/RTTI/2016-02-16/ldbsv/"> <GetDisruptionListResult> <item xmlns="http://thalesgroup.com/RTTI/2012-01-13/ldbsv/types"> <generatedAt>2016-10-20T21:31:37.9260934+01:00</generatedAt> <crs>CBG</crs> <disruptions> <message> <id>60600</id> <category>Train service</category> <severity>Minor</severity> <xhtmlMessage>Trains between Ipswich and Cambridge / Ely expmay be disrupted, with some services delayed by up to 60 minutes. More information can be found in <A href="http://nationalrail.co.uk/service_disruptions/149412.aspx">Latest Travel News.</A></xhtmlMessage> <description>Elmswell</description> </message> </disruptions> </item> </GetDisruptionListResult> </GetDisruptionListResponse> </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 |