GetStationList

From Open Rail Data Wiki
Revision as of 20:45, 20 October 2016 by Q (talk | contribs) (GetStationList Sample query & responses)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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/2015-05-14/ldbsv_ref/">
   <soap:Header>
      <typ:AccessToken>
         <typ:TokenValue>nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn</typ:TokenValue>
      </typ:AccessToken>
   </soap:Header>
   <soap:Body>
      <ldb:GetStationListRequest>
         <ldb:currentVersion></ldb:currentVersion>
      </ldb:GetStationListRequest>
   </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>
      <GetStationListResponse xmlns="http://thalesgroup.com/RTTI/2015-05-14/ldbsv_ref/">
         <GetStationListResult>
            <version xmlns="http://thalesgroup.com/RTTI/2015-05-14/ldbsv_ref/types">2016-09-20 11:35</version>
            <StationList xmlns="http://thalesgroup.com/RTTI/2015-05-14/ldbsv_ref/types">
               <Station crs="HLR">Hall Road</Station>
               <Station crs="UNV">University (T & W Metro)</Station>
               <Station crs="LCN">Lincoln Central</Station>
               <Station crs="XSN">Southampton Eastern Docks</Station>
               <Station crs="GGV">Gargrave</Station>
             [TRUNCATED LIST FOR THIS EXAMPLE]...
            </StationList>
         </GetStationListResult>
      </GetStationListResponse>
   </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 KnowledgeBaseDTDLocations (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