Datalist

This service returns a list of geoatlas datasources.

GET https://data.geo.dk/api/v3/datalist

Notices: Call to this service requires at lest version 2 of the API. See Versioning on how to do achive this.

Parameters

Name Descrition
GeoAreaId Id'et på GeoArea. Se Geo Area for mere information. Only required in version 3 of the api
Datalistid The id of the list of the datasource. See available id

Notices: Parameter Names are not case sensitive.

Notices: This service supports getting the resource in different languages, see languages for more info.

Datalistids

The service supports the following datalistids:

DatalistId Listname Descrition Fields
1 BoreholeDataSource List of borehole datasources
  • Id: The id of the geodatasource. Number
  • Name: The name of the geodatasource. String
  • ShortName: A short version of the name. String
  • Color: The color of the geodatasource in hex. Ex: #0000ff for blue. String
  • Description: A description of the datasource, in the chosen language. String

Output

The service returns a list for the requested datasource.

Errors

  • 400 Bad Request
  • 401 Unauthorized
  • 500 Internal Server Error

Examples

https://data.geo.dk/api/v3/datalist?geoareaid=1&datalistid=1

Returns (danish):

            [
                {
                    "Id":0,
                    "Name":"Geo",
                    "Color":"#ff0000",
                    "ShortName":"Geo",
                    "Description":"En boring fra GEO"
                },
                ....
            ]
        

Or in english:

https://data.geo.dk/api/v3/datalist?geoareaid=1&datalistid=1&lang=en

Returns:

            [
                {
                    "Id":0,
                    "Name":"Geo",
                    "Color":"#ff0000",
                    "ShortName":"Geo",
                    "Description":"Boreholes from GEO"
                },
                ....
            ]