ExportProducts

Returns products as defined by an export definition. This is intended for receiving multiple products as part of a sync job.

Export definitions are maintained by VisitDenmark.

APIDescription
GET api/ExportProducts/{id}?modifiedSince={modifiedSince}&count={count}&offset={offset}

Returns all products matching the export definition given by id.

If modifiedSince is not specified then only online products are returned.

If modifiedSince is specified then all products that have been modified or deleted since the given time are returned. Deleted and inactive products are then returned with Online=false and you should remove such products from your local store.

Also see the documentation about service hours.

Product

Returns products. This api is intended for online use to get a single product by its id (or a few products).

APIDescription
GET api/Product/{id}?mediaChannelId={mediaChannelId}

Returns a product if available in the system based on API user permissions.

Note that only products with status online are returned.

IF mediaChannelId is specified then a product is only returned if it belongs to that media channel.

GET api/Product?ids={ids}&mediaChannelId={mediaChannelId}

Returns a list of requested products, if available in the system based on API user permissions.

Note that only products with status online are returned.

IF mediaChannelId is specified then a product is only returned if it belongs to that media channel.

Categories

System data!

Handles categories.

APIDescription
GET api/Categories

Returns a hierarchical list of all available categories in the system.

MetaTagGroups

System data! Handles meta tag groups and meta tags.

APIDescription
GET api/MetaTagGroups

Returns all the meta tag groups and meta tags in the database.

Route

Returns routes in either GPX or KML format.

APIDescription
GET api/Route/{id}?language={language}&format={format}

Returns a route in XML.

This api can be called without authorization, e.g. as a link on a webpage.

Offices

System data!

Handles Offices.

APIDescription
GET api/Offices

Returns all available offices.

PostalCodes

System data!

Handles cities and postalcodes.

APIDescription
GET api/PostalCodes

Returns all postalcodes available in the system.

Regions

System data!

Handles regions.

APIDescription
GET api/Regions

Returns all regions available in the system.

Municipalities

System data!

Handles municipalities

APIDescription
GET api/Municipalities

Returns all municipalitites available in the system.

Languages

System data!

Handles all languages defined in the database.

APIDescription
GET api/Languages

Returns all languages available for the system.