<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2002 RTIG -->
<!--

    RTIG-XML Bus & Tram Real Time Information Schema
    Example of simple synchronous request for stop status information. 
     
    This document shows examples tagged in conformance to the schema     
   
    This is a single pull (one shot) request, asking for very specific data about a stop in London; 
    see sample_stop_status_response.xml for response.
   
    Request for the next 3 departure/arrivals of the 521 bus at Holborn Circus heading for Waterloo.
    The results will also be constrained to buses leaving in the next 10 minutes.
   
    History
      2002 Sept 11  Version 0.01   Preliminary draft  
      2002 Dec 8    Version 1.00   Pilot Version
      2003 Jan 8   Add version no to namespace URL    
      2004 Oct 16  Revise and correct   
     
-->
<trdxml:get xmlns:trdxml="http://www.rtigxml.org.uk/schema/trident-xml" xmlns:trd="http://www.trident.org/schema/trident" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rt="http://www.rtigxml.org.uk/schema/trident-rt" xmlns:rtig="http://www.rtigxml.org.uk/schema/trident-rtig" xsi:schemaLocation="http://www.rtigxml.org.uk/schema/trident-rtig ../RtigXml.xsd">
	<trdxml:PeerCredentials>
		<trdxml:Login>KizoomTFL</trdxml:Login>
		<trdxml:Password>*********</trdxml:Password>
		<trdxml:PeerID>KIZOOM_TFL</trdxml:PeerID>
	</trdxml:PeerCredentials>
	<trdxml:Request>
		<trdxml:RequestTime>2002-08-15T09:06:41+01:00</trdxml:RequestTime>
		<trdxml:DataDeliveryMode>one_shot</trdxml:DataDeliveryMode>
		<rt:PTStatusRealTimeRequest>
			<rt:StopStatusRealTimeRequest version="1.2c">
				<!-- Identify the stop using NaPTAN identifier (TfL database) -->
				<rt:StopPointRef>
					<rtig:NaptanStopNumber>49008000</rtig:NaptanStopNumber>
					<rt:Label>Holborn Circus</rt:Label>
				</rt:StopPointRef>
				<!-- Filter the results to only display Line 521 -->
				<rt:LineRef>
					<rtig:PublishedLineName>521</rtig:PublishedLineName>
				</rt:LineRef>
				<!-- Filter the results to only display buses towards Waterloo -->
				<rt:Direction>Waterloo</rt:Direction>
				<!-- Limit the number of results to 3 departures/arrivals -->
				<rt:MaxDepartures>3</rt:MaxDepartures>
				<!-- Display only buses that are leaving in the next 10 minutes -->
				<rt:DepartureTimeWindow>PT10M</rt:DepartureTimeWindow>
			</rt:StopStatusRealTimeRequest>
		</rt:PTStatusRealTimeRequest>
	</trdxml:Request>
</trdxml:get>

