Skip to content

Location Endpoint

RudiThoeni edited this page Nov 24, 2021 · 6 revisions

Where is the Location Endpoint

https://tourism.api.opendatahub.bz.it/v1/Location

What is the Location Endpoint for

With the Location Endpoint we get every possible filtering for the Location Filter used in nearly all api calls. It consists of an Id and a Type. The Location Filter is generated by concatenating typand id.
Example filtering for Municipality "Lana"

{
"name": "Lana",
"typ": "mun",
"id": "0EECEC93283E42488CBE0EB3B94CD339"
}

passing as locfilter mun0EECEC93283E42488CBE0EB3B94CD339

Language parameter

By default the language is set to english, if all languages should retrieved it is possible to pass language=null. In this case a Dictionary with all Names is returned instead of a string.

Clone this wiki locally