GetSourceInstanceNames

From Open Rail Data Wiki
Jump to navigation Jump to search

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:GetSourceInstanceNamesRequest/>
   </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>
      <GetSourceInstanceNamesResponse xmlns="http://thalesgroup.com/RTTI/2015-05-14/ldbsv_ref/">
         <GetSourceInstanceNamesResult>
            <item xmlns="http://thalesgroup.com/RTTI/2012-01-13/ldbsv/types">
               <id>AM01</id>
               <name>Southern Metropolitan</name>
            </item>
            <item xmlns="http://thalesgroup.com/RTTI/2012-01-13/ldbsv/types">
               <id>AM02</id>
               <name>Southern Suburban</name>
            </item>
            <item xmlns="http://thalesgroup.com/RTTI/2012-01-13/ldbsv/types">
               <id>AM03</id>
               <name>Birmingham New Street</name>
            </item>
            {TRUNCATED LIST FOR THIS EXAMPLE]...
         </GetSourceInstanceNamesResult>
      </GetSourceInstanceNamesResponse>
   </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
LDB API About
LDB-SV API About
HSP About
Push Port About XML Schemas Schedule Data Association Data Train Status Data Station Messages