-
Notifications
You must be signed in to change notification settings - Fork 4
ODHTags (Deprecated)
Most of ODH Data has an array where all ODHTags are stored:
"ODHTags": [ { "Id": "bikeguides", "Self": "https://tourism.api.opendatahub.bz.it/v1/ODHTag/bikeguides" } ]
It iss possible to filter on this ODHTags with the odhtagfilter
Retrieve all ODHTags
https://tourism.api.opendatahub.bz.it/v1/ODHTag
Retrieve all ODHTags for a certain entity (Refers to _Meta.Type)
- accommodation
- odhactivitypoi
- event
- article
- region ......
Example all ODHTags available for the entity 'odhactivitypoi'
https://tourism.api.opendatahub.bz.it/v1/ODHTag?validforentity=odhactivitypoi
It is also possible to use the fields filter to get only the information that is for interest
example:
If you want to only select what is for interest in this call use the fields filter (Here only the Id and the Tagname in de is retrieved)
https://tourism.api.opendatahub.bz.it/v1/ODHTag?validforentity=odhactivitypoi&fields=Id,TagName.de
Then use the Id of the ODHTags to filter with
Simply pass the ODHTag Id to the odhtagfilter
Example on the ODHActivityPoi Endpoint:
https://tourism.api.opendatahub.bz.it/v1/ODHActivityPoi?odhtagfilter=bikeguides
Use more ODHTags Ids
https://tourism.api.opendatahub.bz.it/v1/ODHActivityPoi?odhtagfilter=bikeguides,brennereien
The filter allows only to filter on more ODHTags with an OR conjunction
This wiki contains additional information about the Open Data Hub alongside the Open Data Hub - Official Documentation 🔗 .