Replication

Replication: extract

Returns a complete data extract for a given entity. The entitet parameter (required) specifies the entity for which an extract is retrieved. Data descriptions for a list of entities and the data contained by the various entities.

GET/replikering/udtraek

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

entitetstringqueryrequired

Returns an extract for the specified entity. The parameter must be specified, so only an extract for one entity can be retrieved at a time. Example: If the value 'adgangsadresse' is specified, an extract of access addresses is retrieved. See data descriptions for possible values.

txidintegerquery

Get the extract with the specified transaction ID. All changes made to data in the specified and previous transactions will be included in the extract, and all changes made in subsequent transactions will not be included. An extract with a given transaction ID is therefore a snapshot of the data created immediately after the transaction with the specified transaction ID was executed.

sekvensnummerintegerquery

Get the extract with the specified sequence number. All changes up to and including this sequence number are included in the extract, and all subsequent changes are not included. New clients are advised to use the txid parameter instead.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/dawa/replikering/udtraek" \
  --url-query "entitet=<entitet>" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/replikering/udtraek

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