GetServiceDetailsByRID

From Open Rail Data Wiki
Revision as of 21:21, 20 October 2016 by Q (talk | contribs) (GetServiceDetailsByRID 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/2016-02-16/ldbsv/">
   <soap:Header>
      <typ:AccessToken>
         <typ:TokenValue>nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn</typ:TokenValue>
      </typ:AccessToken>
   </soap:Header>
   <soap:Body>
      <ldb:GetServiceDetailsByRIDRequest>
         <ldb:rid>201610207691088</ldb:rid>
      </ldb:GetServiceDetailsByRIDRequest>
   </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>
      <GetServiceDetailsByRIDResponse xmlns="http://thalesgroup.com/RTTI/2016-02-16/ldbsv/">
         <GetServiceDetailsResult xmlns:c1="http://thalesgroup.com/RTTI/2007-10-10/ldb/commontypes" xmlns:t5="http://thalesgroup.com/RTTI/2012-01-13/ldbsv/types" xmlns:c3="http://thalesgroup.com/RTTI/2016-02-16/ldbsv/commontypes" xmlns:t10="http://thalesgroup.com/RTTI/2016-02-16/ldbsv/types">
            <t10:generatedAt>2016-10-20T22:20:11.2503072+01:00</t10:generatedAt>
            <t10:rid>201610207691088</t10:rid>
            <t10:uid>L91088</t10:uid>
            <t10:trainid>2T14</t10:trainid>
            <t10:rsid>LO083700</t10:rsid>
            <t10:sdd>2016-10-20</t10:sdd>
            <t10:operator>London Overground</t10:operator>
            <t10:operatorCode>LO</t10:operatorCode>
            <t10:serviceType>train</t10:serviceType>
            <t10:category>OO</t10:category>
            <t10:locations>
               <t10:location>
                  <platform xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">6</platform>
                  <std xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:48:00</std>
                  <atd xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:47:39</atd>
                  <departureType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</departureType>
                  <departureSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</departureSource>
                  <lateness xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">-60</lateness>
                  <t10:locationName>London Liverpool Street</t10:locationName>
                  <t10:tiploc>LIVST</t10:tiploc>
                  <t10:crs>LST</t10:crs>
                  <t10:activities>TB</t10:activities>
               </t10:location>
               <t10:location>
                  <platform xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2</platform>
                  <sta xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:51:00</sta>
                  <ata xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:51:20</ata>
                  <arrivalType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</arrivalType>
                  <arrivalSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</arrivalSource>
                  <std xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:51:00</std>
                  <atd xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:51:55</atd>
                  <departureType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</departureType>
                  <departureSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</departureSource>
                  <lateness xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">55</lateness>
                  <t10:locationName>Bethnal Green</t10:locationName>
                  <t10:tiploc>BTHNLGR</t10:tiploc>
                  <t10:crs>BET</t10:crs>
                  <t10:activities>T</t10:activities>
               </t10:location>
               <t10:location>
                  <isPass xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">true</isPass>
                  <platformIsHidden xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">true</platformIsHidden>
                  <std xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:52:00</std>
                  <atd xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:53:38</atd>
                  <departureType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</departureType>
                  <departureSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</departureSource>
                  <lateness xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">60</lateness>
                  <t10:locationName>Cambridge Heath</t10:locationName>
                  <t10:tiploc>CAMHTH</t10:tiploc>
                  <t10:crs>CBH</t10:crs>
                  <t10:activities></t10:activities>
               </t10:location>
               <t10:location>
                  <isPass xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">true</isPass>
                  <platformIsHidden xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">true</platformIsHidden>
                  <std xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:53:00</std>
                  <atd xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:54:16</atd>
                  <departureType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</departureType>
                  <departureSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</departureSource>
                  <lateness xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">60</lateness>
                  <t10:locationName>London Fields</t10:locationName>
                  <t10:tiploc>LONFLDS</t10:tiploc>
                  <t10:crs>LOF</t10:crs>
                  <t10:activities></t10:activities>
               </t10:location>
               <t10:location>
                  <platform xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">4</platform>
                  <sta xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:55:00</sta>
                  <ata xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:55:17</ata>
                  <arrivalType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</arrivalType>
                  <arrivalSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</arrivalSource>
                  <std xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:55:00</std>
                  <atd xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:56:08</atd>
                  <departureType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</departureType>
                  <departureSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</departureSource>
                  <lateness xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">60</lateness>
                  <t10:locationName>Hackney Downs</t10:locationName>
                  <t10:tiploc>HAKNYNM</t10:tiploc>
                  <t10:crs>HAC</t10:crs>
                  <t10:activities>T X</t10:activities>
               </t10:location>
               <t10:location>
                  <platform xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2</platform>
                  <sta xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:58:00</sta>
                  <ata xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:58:28</ata>
                  <arrivalType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</arrivalType>
                  <arrivalSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</arrivalSource>
                  <std xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:58:00</std>
                  <atd xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:59:11</atd>
                  <departureType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</departureType>
                  <departureSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</departureSource>
                  <lateness xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">60</lateness>
                  <t10:locationName>Clapton</t10:locationName>
                  <t10:tiploc>CLAPTON</t10:tiploc>
                  <t10:crs>CPT</t10:crs>
                  <t10:activities>T</t10:activities>
               </t10:location>
               <t10:location>
                  <isPass xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">true</isPass>
                  <platformIsHidden xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">true</platformIsHidden>
                  <std xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T07:59:30</std>
                  <departureType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">NoLog</departureType>
                  <t10:locationName>CLAPTNJ</t10:locationName>
                  <t10:tiploc>CLAPTNJ</t10:tiploc>
                  <t10:activities></t10:activities>
               </t10:location>
               <t10:location>
                  <platform xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2</platform>
                  <sta xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:02:00</sta>
                  <ata xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:01:27</ata>
                  <arrivalType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</arrivalType>
                  <arrivalSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</arrivalSource>
                  <std xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:02:00</std>
                  <atd xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:02:29</atd>
                  <departureType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</departureType>
                  <departureSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</departureSource>
                  <lateness xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">29</lateness>
                  <t10:locationName>St James Street</t10:locationName>
                  <t10:tiploc>STJMSST</t10:tiploc>
                  <t10:crs>SJS</t10:crs>
                  <t10:activities>T</t10:activities>
               </t10:location>
               <t10:location>
                  <platform xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2</platform>
                  <sta xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:04:00</sta>
                  <ata xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:03:19</ata>
                  <arrivalType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</arrivalType>
                  <arrivalSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</arrivalSource>
                  <std xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:04:00</std>
                  <atd xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:04:41</atd>
                  <departureType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</departureType>
                  <departureSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</departureSource>
                  <lateness xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">41</lateness>
                  <t10:locationName>Walthamstow Central</t10:locationName>
                  <t10:tiploc>WLTWCEN</t10:tiploc>
                  <t10:crs>WHC</t10:crs>
                  <t10:activities>T</t10:activities>
               </t10:location>
               <t10:location>
                  <platform xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2</platform>
                  <sta xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:06:00</sta>
                  <ata xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:05:54</ata>
                  <arrivalType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</arrivalType>
                  <arrivalSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</arrivalSource>
                  <std xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:06:00</std>
                  <atd xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:07:11</atd>
                  <departureType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</departureType>
                  <departureSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</departureSource>
                  <lateness xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">60</lateness>
                  <t10:locationName>Wood Street</t10:locationName>
                  <t10:tiploc>WDST</t10:tiploc>
                  <t10:crs>WST</t10:crs>
                  <t10:activities>T</t10:activities>
               </t10:location>
               <t10:location>
                  <platform xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2</platform>
                  <sta xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:09:00</sta>
                  <ata xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:09:45</ata>
                  <arrivalType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</arrivalType>
                  <arrivalSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</arrivalSource>
                  <std xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:09:00</std>
                  <atd xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:10:20</atd>
                  <departureType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</departureType>
                  <departureSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</departureSource>
                  <lateness xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">60</lateness>
                  <t10:locationName>Highams Park</t10:locationName>
                  <t10:tiploc>HGHMSPK</t10:tiploc>
                  <t10:crs>HIP</t10:crs>
                  <t10:activities>T</t10:activities>
               </t10:location>
               <t10:location>
                  <platform xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">1</platform>
                  <sta xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:17:00</sta>
                  <ata xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">2016-10-20T08:14:44</ata>
                  <arrivalType xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">Actual</arrivalType>
                  <arrivalSource xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">TD</arrivalSource>
                  <lateness xmlns="http://thalesgroup.com/RTTI/2015-11-27/ldbsv/types">-180</lateness>
                  <t10:locationName>Chingford</t10:locationName>
                  <t10:tiploc>CHINGFD</t10:tiploc>
                  <t10:crs>CHI</t10:crs>
                  <t10:activities>TF</t10:activities>
               </t10:location>
            </t10:locations>
         </GetServiceDetailsResult>
      </GetServiceDetailsByRIDResponse>
   </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