Areas (DAGI)

Autocomplete for parish council polling districts

Autocomplete for parish council polling districts. The same parameters as for search can be used, but note that the q parameter is interpreted differently. Read more under autocomplete.

GET/menighedsraadsafstemningsomraader/autocomplete

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

dagi_idintegerquery

Finds the parish council polling district with the given DAGI ID

kommunekodeintegerquery

Find the parish council polling districts in the specified municipality.

nummerintegerquery

Finds the parish council polling districts with the given number.

sognekodeintegerquery

Find the parish council polling districts in the sogn (parish) with the specified parish code

navnstringquery

Finds the polling district with the given name. Case-sensitive.

qstringquery

See the description under autocomplete

autocompletestringquery

Performs the search as an autocomplete search.

formatstringquery

Returns the output in a format other than JSON. See Data formats.

Show all 13 parametersShow fewer
callbackstringquery

Returns the output as JSONP. See Data formats.

noformatstringquery

Omits whitespace formatting from the output

ndjsonstringquery

Returns the output as Newline Delimited JSON

sideintegerquery

Which page to return. See Pagination.

per_sideintegerquery

Number of results per page. See Pagination.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/dawa/menighedsraadsafstemningsomraader/autocomplete" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/menighedsraadsafstemningsomraader/autocomplete

Response

application/json

Success response. The MIME type of the response depends on the format parameter.

—

401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}