GetTOCList

From Open Rail Data Wiki
Revision as of 20:41, 20 October 2016 by Q (talk | contribs) (GetTOCList 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:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://thalesgroup.com/RTTI/2013-11-28/Token/types" xmlns:ldb="http://thalesgroup.com/RTTI/2015-05-14/ldbsv_ref/">
   <soapenv:Header>
      <typ:AccessToken>
         <typ:TokenValue>nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn</typ:TokenValue>
      </typ:AccessToken>
   </soapenv:Header>
   <soapenv:Body>
      <ldb:GetTOCListRequest>
         <ldb:currentVersion></ldb:currentVersion>
      </ldb:GetTOCListRequest>
   </soapenv:Body>
</soapenv:Envelope>

Response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <GetTOCListResponse xmlns="http://thalesgroup.com/RTTI/2015-05-14/ldbsv_ref/">
         <GetTOCListResult>
            <version xmlns="http://thalesgroup.com/RTTI/2015-05-14/ldbsv_ref/types">2016-10-20 11:40</version>
            <TOCList xmlns="http://thalesgroup.com/RTTI/2015-05-14/ldbsv_ref/types">
               <TOC toc="AW">Arriva Trains Wales</TOC>
               <TOC toc="CC">c2c</TOC>
               <TOC toc="CH">Chiltern Railways</TOC>
               <TOC toc="CS">Caledonian Sleeper</TOC>
               <TOC toc="EM">East Midlands Trains</TOC>
               <TOC toc="ES">Eurostar</TOC>
               <TOC toc="GC">Grand Central</TOC>
               <TOC toc="GN">Great Northern</TOC>
               <TOC toc="GR">Virgin Trains East Coast</TOC>
               <TOC toc="GW">Great Western Railway</TOC>
               <TOC toc="GX">Gatwick Express</TOC>
               <TOC toc="HC">Heathrow Connect</TOC>
               <TOC toc="HT">Hull Trains</TOC>
               <TOC toc="HX">Heathrow Express</TOC>
               <TOC toc="IL">Island Line</TOC>
               <TOC toc="LE">Greater Anglia</TOC>
               <TOC toc="LM">London Midland</TOC>
               <TOC toc="LO">London Overground</TOC>
               <TOC toc="LT">London Underground</TOC>
               <TOC toc="ME">Merseyrail</TOC>
               <TOC toc="NT">Northern</TOC>
               <TOC toc="NY">North Yorkshire Moors Railway</TOC>
               <TOC toc="PC">Private Charter</TOC>
               <TOC toc="RT">Network Rail</TOC>
               <TOC toc="SE">Southeastern</TOC>
               <TOC toc="SN">Southern</TOC>
               <TOC toc="SR">ScotRail</TOC>
               <TOC toc="SW">South West Trains</TOC>
               <TOC toc="TL">Thameslink</TOC>
               <TOC toc="TP">First TransPennine Express</TOC>
               <TOC toc="TW">Tyne and Wear Metro</TOC>
               <TOC toc="VT">Virgin Trains</TOC>
               <TOC toc="WR">West Coast Railway Co</TOC>
               <TOC toc="XC">CrossCountry</TOC>
               <TOC toc="XR">TFL Rail</TOC>
               <TOC toc="ZB">Bus Operator</TOC>
               <TOC toc="ZF">Ferry Operator</TOC>
               <TOC toc="ZM">West Somerset Railway</TOC>
               <TOC toc="ZZ">Unknown</TOC>
            </TOCList>
         </GetTOCListResult>
      </GetTOCListResponse>
   </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