Replication

Replication: bulk extract of polling district associations

DEPRECATED. Use the new API instead. Bulk extract for polling district associations.

GET/replikering/afstemningsområdetilknytninger

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

adgangsadresseidstringquery

The unique ID of the access address, e.g. 0a3f5095-45ec-32b8-e044-0003ba298018.

kommunekodestringquery

The municipality code of the municipality in which the polling district is located.

afstemningsområdenummerstringquery

The number of the polling district. Integer.

sekvensnummerintegerquery

Specifies the sequence number for the extract. All events up to and including the specified sequence number are included in the extract.

txidintegerquery

Specifies the transaction ID for the extract. All events up to and including the specified transaction ID are included in the extract.

formatstringquery

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

callbackstringquery

Returns the output as JSONP. See Data formats.

noformatstringquery

Omits whitespace formatting from the output

ndjsonstringquery

Returns the output as Newline Delimited JSON

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/dawa/replikering/afstemningsområdetilknytninger" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/replikering/afstemningsområdetilknytninger

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."
  }
}