# AbonnementSvar Controller Documentation

Tinglysningsretten
version 0.5

← Back to Main Page

## Overview

e-Tinglysning - Endpoint for AbonnementSvar

Subscription events.

For subscription events, an extract of information is returned that enables the subscriber to act in a business context.

### Use Cases

Examples may include:

- The subscriber is a bank that needs to register a new mortgage after a deed has been registered without encumbrances in an ownership transfer situation.

- A creditor who wants to react to a seizure being made on a property in which the subscriber has a mortgage.

- The subscriber is a lawyer who wants to monitor the development of a client’s case.

The information in the notifications is limited for fee-related reasons. In many situations, the subscriber will therefore follow up the subscription event by retrieving new summary information from e-Tinglysning.

### Target Namespace

`http://rep.oio.dk/tinglysning.dk/svarservice/interface/administration/1/`

### Included Schemas

- AbonnementNotifikationModtag.xsd - http://rep.oio.dk/tinglysning.dk/svarservice/message/administration/1/

## Messages

Message | Type
--- | ---
AbonnementNotifikationModtag | sadmmsg:AbonnementNotifikationModtag

## Endpoints

### AbonnementNotifikationModtag

#### Description

Notification is sent when subscription events occur as described in the use cases above.

Example request:

    POST /AbonnementSvar/AbonnementNotifikationModtag HTTP/1.1
    Content-Type: application/xml
    Tinglysning-Message-Id: uuid:44b147ff-b221-43f7-be45-cdb55f085413
    Tinglysning-Relates-To: test-relates-to
    Content-Length: 3647

    <?xml version="1.0" encoding="UTF-8"?>
    <msgextadm:AbonnementNotifikationModtag xmlns:msgextadm="http://rep.oio.dk/tinglysning.dk/svarservice/message/administration/1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:adm="http://rep.oio.dk/tinglysning.dk/schema/administration/1/" xmlns:anm="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:model="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:kms="http://rep.oio.dk/kms.dk/xml/schemas/2005/03/11/" xmlns:snapshot="http://rep.oio.dk/tinglysning.dk/schema/snapshot/1/" xsi:schemaLocation="http://rep.oio.dk/tinglysning.dk/svarservice/message/administration/1/ http://rep.oio.dk/tinglysning.dk/svarservice/message/administration/1/AbonnementNotifikationModtag.xsd">
        <adm:AbonnementNotifikation>
            <anm:AbonnementIdentifikator>5a127610-f91c-4003-ae1f-2621961e1e83</anm:AbonnementIdentifikator>
            <adm:AbonnementNotifikationStatusKode>abonnementHaendelse</adm:AbonnementNotifikationStatusKode>
            <model:EjendomIdentifikator>
                <model:BestemtFastEjendomNummer>9047867</model:BestemtFastEjendomNummer>
                <model:EjendomType>
                    <model:Grund/>
                </model:EjendomType>
                <model:Matrikel>
                    <kms:CadastralDistrictName>Bistrup Hgd., Roskilde Jorder</kms:CadastralDistrictName>
                    <kms:CadastralDistrictIdentifier>2000359</kms:CadastralDistrictIdentifier>
                    <model:Matrikelnummer>0001eo</model:Matrikelnummer>
                </model:Matrikel>
            </model:EjendomIdentifikator>
            <snapshot:RettighedIdentifikatorSamling>
                <snapshot:RettighedIdentifikatorStruktur>
                    <model:Rettighed>
                        <model:Adkomstrettighed>
                            <model:RettighedIdentifikator>93ef7a38-6911-46ca-9693-cd3b086c886e</model:RettighedIdentifikator>
                        </model:Adkomstrettighed>
                    </model:Rettighed>
                    <model:TinglysningObjektIdentifikator>
                        <model:EjendomIdentifikator>
                            <model:BestemtFastEjendomNummer>9047867</model:BestemtFastEjendomNummer>
                            <model:EjendomType>
                                <model:Grund/>
                            </model:EjendomType>
                            <model:Matrikel>
                                <kms:CadastralDistrictName>Bistrup Hgd., Roskilde Jorder</kms:CadastralDistrictName>
                                <kms:CadastralDistrictIdentifier>2000359</kms:CadastralDistrictIdentifier>
                                <model:Matrikelnummer>0001eo</model:Matrikelnummer>
                            </model:Matrikel>
                        </model:EjendomIdentifikator>
                    </model:TinglysningObjektIdentifikator>
                    <model:DokumentRevisionIdentifikator>
                        <model:DokumentIdentifikator>7127f1e8-0744-4944-8deb-3a8cba08b0ca</model:DokumentIdentifikator>
                        <model:RevisionNummer>1</model:RevisionNummer>
                    </model:DokumentRevisionIdentifikator>
                </snapshot:RettighedIdentifikatorStruktur>
            </snapshot:RettighedIdentifikatorSamling>
            <model:EkspeditionstypeIdentifikatorSamling>
                <model:EkspeditionstypeIdentifikator>1</model:EkspeditionstypeIdentifikator>
            </model:EkspeditionstypeIdentifikatorSamling>
            <adm:AnmaerkningAntal>0</adm:AnmaerkningAntal>
            <adm:Frister>0</adm:Frister>
            <adm:Tidspunkt>2025-10-03T14:08:05.563+02:00</adm:Tidspunkt>
        </adm:AbonnementNotifikation>
    </msgextadm:AbonnementNotifikationModtag>

Example response:

    HTTP/1.1 200 OK