Siirry sisältöön

Ero sivun ”ITSFactory siriaccess developerguide” versioiden välillä

1 635 merkkiä lisätty ,  14. syyskuuta 2013 kello 16.27
ei muokkausyhteenvetoa
Ei muokkausyhteenvetoa
Rivi 13: Rivi 13:
The URL supports standard SIRI XML document exchange as defined in http://www.kizoom.com/standards/siri/, the SIRI version is 1.3 as defined in http://www.kizoom.com/standards/siri/schema/1.3/siri.xsd
The URL supports standard SIRI XML document exchange as defined in http://www.kizoom.com/standards/siri/, the SIRI version is 1.3 as defined in http://www.kizoom.com/standards/siri/schema/1.3/siri.xsd


==== Requests ====
To communicate with this URL, the client must send XML formatted SIRI requests via HTTP POST. The server will response with proper SIRI XML response. SIRI Subscriptions are not supported by this URL. A minimalist request to access all vehicle monitoring data is as follows:
To communicate with this URL, the client must send XML formatted SIRI requests via HTTP POST. The server will response with proper SIRI XML response. SIRI Subscriptions are not supported by this URL. A minimalist request to access all vehicle monitoring data is as follows:


Rivi 49: Rivi 50:
</VehicleMonitoringRequest>
</VehicleMonitoringRequest>
</ServiceRequest>
</ServiceRequest>
</Siri>
</pre>
==== Responses ====
<pre>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Siri xmlns="http://www.siri.org.uk/siri" xmlns:ns2="http://www.ifopt.org.uk/acsb" xmlns:ns3="http://www.ifopt.org.uk/ifopt"
xmlns:ns4="http://datex2.eu/schema/1_0/1_0" version="1.3">
<ServiceDelivery>
<ResponseTimestamp>2013-04-24T09:41:42.486+03:00</ResponseTimestamp>
<ProducerRef>IJ2010</ProducerRef>
<Status>true</Status>
<MoreData>false</MoreData>
<VehicleMonitoringDelivery version="1.3">
<ResponseTimestamp>2013-04-24T09:41:42.486+03:00</ResponseTimestamp>
<Status>true</Status>
<VehicleActivity>
<RecordedAtTime>2013-04-24T09:41:42.173+03:00</RecordedAtTime>
<ValidUntilTime>2013-04-24T09:42:12.173+03:00</ValidUntilTime>
<MonitoredVehicleJourney>
<LineRef>30</LineRef>
<DirectionRef>2</DirectionRef>
<FramedVehicleJourneyRef>
<DataFrameRef>2013-04-24</DataFrameRef>
<DatedVehicleJourneyRef>0935</DatedVehicleJourneyRef>
</FramedVehicleJourneyRef>
<OperatorRef/>
<OriginName xml:lang="fi">Keskustori M</OriginName>
<DestinationName xml:lang="fi">Etelä-Hervanta</DestinationName>
<Monitored>true</Monitored>
<VehicleLocation>
<Longitude>23.77120000000000032969182939268648624420166015625</Longitude>
<Latitude>61.4919000000000011141310096718370914459228515625</Latitude>
</VehicleLocation>
<Bearing>148.0</Bearing>
<Delay>P0Y0M0DT0H2M58.000S</Delay>
<VehicleRef>TKL_248</VehicleRef>
</MonitoredVehicleJourney>
</VehicleActivity>
</VehicleMonitoringDelivery>
</ServiceDelivery>
</Siri>
</Siri>
</pre>
</pre>
0

muokkausta