RETURN to main page of SERVICEMAP API
GET: Sii-Mobility Km4City: Smart City API, version 1 smart city API
--- the rest has been deprecated ---
http://servicemap.disit.org/WebAppGrafo/api/v1?queryId=[queryId-Read|queryId-ReadWrite]
&format=[json|html]
In this scenario, user can save a bunch of pins, making a query and save it on the Service Map.
Clicking on the save icon on the pin or in the category box, it is possible to save the query to obtain the results on the Service Map, as html or in json format.
The procedure to save the query is the same described before for services and selections APIs (cases 1 and 2). User has to compile a form with email, title and description of the query.
Two links will arrive by email: one for read only and one for read/write.
For example, the same selection query in the case 2, searching services around Chiesa di Santa Maria Novella, in this case the API URL becomes:
http://servicemap.disit.org/WebAppGrafo/api/v1?queryId=8469888d2cf60a98f... for read only, and
http://servicemap.disit.org/WebAppGrafo/api/v1?queryId=a0dcb5b0cc63610c7... to edit the query and resave it (read/write).
In the first case, two link will be provided, one for html and on for json results. For the second link, only html results are provided as on Service Map is possible to edit the query and overwrite the previous version.