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

ei muokkausyhteenvetoa
Ei muokkausyhteenvetoa
Rivi 1: Rivi 1:
<div style="border: solid 1px; padding: 5px">The url of JSON API has changed to better reflect the nature of the interface (JSON instead of REST). <br>
ITS Factory supports following SIRI modules:
The new url is: http://data.itsfactory.fi/siriaccess/vm/json <br>
* Vehicle Monitoring, VM (Currently available)
The old url http://data.itsfactory.fi/siriaccess/vm/rest will continue to work but new clients are encouraged to use the new url.
* General Messaging, GM (Currently available in beta phase)
</div>
 
== SIRI Vehicle Monitoring ==
SIRI vehicle monitoring, or VM, offers real-time location related information on monitored vehicles (buses). A client can request information on all active vehicles or limit its request to certain bus line or vehicle. The data contains the current state of vehicle transit, history data is not currently available.
 
URLs:


ITS Factory SIRI Access responds to requests in urls:
* http://data.itsfactory.fi/siriaccess/vm/siri (SIRI XML documents over HTTP POST)
* http://data.itsfactory.fi/siriaccess/vm/siri (SIRI XML documents over HTTP POST)
* http://data.itsfactory.fi/siriaccess/vm/json (SIRI JSON documents over HTTP GET)
* http://data.itsfactory.fi/siriaccess/vm/json (SIRI JSON documents over HTTP GET)


Both URLs will support following SIRI modules:
== SIRI General Messages ==
* Vehicle Monitoring, VM (Currently available in beta phase)
SIRI general messages, or GM, offers periodic message-style updates on events occurring in the public transport network, such as information about service disruptions or route changes. 
* General Messaging, GM (Currently not available, planned)
 
URLs:


== Vehicle Monitoring ==
* http://data.itsfactory.fi/siriaccess/gm/siri (SIRI XML documents over HTTP POST)
SIRI vehicle monitoring, or VM, offers real-time location related information on monitored vehicles (busses). A client can request information on all active vehicles or limit its request to certain bus line or vehicle. The data contains the current state of vehicle transit, history data is not currently available.
* http://data.itsfactory.fi/siriaccess/gm/json (SIRI JSON documents over HTTP GET)
   
   
=== SIRI XML documents over HTTP POST ===
=== SIRI XML documents over HTTP POST ===
0

muokkausta