209
muokkausta
p (POISTETTU http://data.itsfactory.fi/siriaccess/gm/siri - ei toimi) |
|||
(4 välissä olevaa versiota 2 käyttäjän tekeminä ei näytetä) | |||
Rivi 1: | Rivi 1: | ||
ITS Factory supports following SIRI modules: | ITS Factory supports following SIRI modules: | ||
* Vehicle Monitoring, VM (Currently available) | * Vehicle Monitoring, VM (Currently available) | ||
* General Messages, GM (Currently available | * General Messages, GM (Currently available) | ||
== SIRI Vehicle Monitoring == | == SIRI Vehicle Monitoring == | ||
Rivi 7: | Rivi 7: | ||
URLs: | URLs: | ||
* 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) | ||
==== Requests ==== | ==== Requests ==== | ||
Rivi 111: | Rivi 106: | ||
<b><font color=red>NEW!</font></b> | <b><font color=red>NEW!</font></b> | ||
* '''Please note!''' This JSON interface is superceeded by http://wiki.itsfactory.fi/index.php/Journeys_API#Vehicle_Activity . This interface will remain in use until it is eventually removed in the future. | * '''Please note!''' This SIRI VM JSON interface is superceeded by http://wiki.itsfactory.fi/index.php/Journeys_API#Vehicle_Activity . This interface will remain in use until it is eventually removed in the future. SIRI GM interface continues its operation. | ||
JSON access responds to HTTP GET requests and returns JSON formatted textual data. The data itself is structured and named like standard SIRI XML responses (it is just converted from SIRI XML to JSON notation). This allows the client avoid XML request parsing which is typically cumbersome for example to JavaScript clients. | JSON access responds to HTTP GET requests and returns JSON formatted textual data. The data itself is structured and named like standard SIRI XML responses (it is just converted from SIRI XML to JSON notation). This allows the client avoid XML request parsing which is typically cumbersome for example to JavaScript clients. | ||
Rivi 198: | Rivi 193: | ||
URLs: | URLs: | ||
* http://data.itsfactory.fi/siriaccess/gm/json (SIRI JSON documents over HTTP GET) | * 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 === |