ODHTags - noi-techpark/odh-docs GitHub Wiki

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

Get all available ODHTags

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

Use the ODHTag Ids to filter the Endpoints

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