# PersonbogAnmeldelseSvar Controller Documentation

Tinglysningsretten
version 0.5

← Back to Main Page

## Overview

e-Tinglysning - Endpoint for PersonbogAnmeldelseSvar

Response services for registration status and service that delivers compulsory subscriptions. This web service is exposed by each of the participating actor systems and includes endpoints related to receiving registration status.

### Features

- Notification regarding receipt

- Notification regarding manual processing

- Final response to registration

- Compulsory subscription notifications

### Target Namespace

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

### Included Schemas

- AnmeldelseKvitteringModtag.xsd - http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/

- AnmeldelseStatusModtag.xsd - http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/

- PersonbogAnmeldelseSvarModtag.xsd - http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/

- PersonbogAnmaerkningStatusModtag.xsd - http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/

## Messages

Message | Type
--- | ---
AnmeldelseKvitteringModtag | sanmmsg:AnmeldelseKvitteringModtag
AnmeldelseStatusModtag | sanmmsg:AnmeldelseStatusModtag
PersonbogAnmeldelseSvarModtag | sanmmsg:PersonbogAnmeldelseSvarModtag
PersonbogAnmaerkningStatusModtag | sanmmsg:PersonbogAnmaerkningStatusModtag

## Endpoints

### AnmeldelseKvitteringModtag

#### Description

This endpoint is called immediately after receipt of a registration and means that the registration is now queued for processing.

### AnmeldelseStatusModtag

#### Description

Notification that is currently only sent if a registration is transferred to manual processing.

### PersonbogAnmeldelseSvarModtag

#### Description

The response to the registration is received when e-TL calls this endpoint. The response contains, among other things, the entire registration and the registration endorsement.

### PersonbogAnmaerkningStatusModtag

#### Description

e-TL calls this when events occur that relate to compulsory subscriptions. This can, for example, be a remark that is removed or a deadline that expires. In such situations, this notification is received.

Example request:

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

    <?xml version="1.0" encoding="UTF-8"?>
    <msgadm:TekstGenerer xsi:schemaLocation="http://rep.oio.dk/tinglysning.dk/service/message/administration/1/ http://rep.oio.dk/tinglysning.dk/service/message/administration/1/TekstGenerer.xsd" xmlns:adm="http://rep.oio.dk/tinglysning.dk/schema/administration/1/" xmlns:anm="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:eakt="http://rep.oio.dk/tinglysning.dk/schema/elektroniskakt/1/" xmlns:model="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:snapshot="http://rep.oio.dk/tinglysning.dk/schema/snapshot/1/" xmlns:msgadm="http://rep.oio.dk/tinglysning.dk/service/message/administration/1/" xmlns:msgext="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    	<msgext:PersonbogAnmaerkningStatusModtag>
    		<anm:PersonbogAnmaerkningStatus>
    			<adm:AbonnementHaendelseType>tidsfristAdvarsel</adm:AbonnementHaendelseType>
    			<anm:AnmaerkningStatusNotifikation>
    				<model:AnmeldelseIdentifikator>60129cfd-2e9b-4098-aa4b-d6cfada265c3</model:AnmeldelseIdentifikator>
    				<model:AktoerReference>
    					<model:AktoerID>13399174</model:AktoerID>
    					<model:KorrelationID>123DE8765C542A</model:KorrelationID>
    				</model:AktoerReference>
    				<model:SagsReference>1466.5444-13</model:SagsReference>
    			</anm:AnmaerkningStatusNotifikation>
    		</anm:PersonbogAnmaerkningStatus>
    		<ds:Signature Id="ID00000000000001-AnmelderSignature">
    		<ds:SignedInfo>
    			<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    			<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
    			<ds:Reference>
    				<ds:Transforms>
    					<Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
    						<XPath xmlns:xpathanm="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:xpathds="http://www.w3.org/2000/09/xmldsig#" xmlns:xpathmodel="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:xpathxkom="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/">not(ancestor-or-self::xpathds:Signature) and not(ancestor-or-self::xpathanm:Procesinstruktion) and not(ancestor-or-self::xpathanm:AnmelderInformation) and not(ancestor-or-self::xpathmodel:TinglysningAfgift) and not(ancestor-or-self::xpathmodel:AnmelderOrdningSamling) and not(ancestor-or-self::xpathmodel:ForespoergselsIdentifikatorSamling) and not(ancestor-or-self::xpathmodel:UnderskriftsmappeSignaturSamling) and not(ancestor-or-self::xpathmodel:FuldmagtOrdningSamling) and not(ancestor-or-self::xpathmodel:AktoerReference) and not(ancestor-or-self::xpathmodel:SagsReference) and not(ancestor-or-self::xpathxkom:EmailAddressIdentifier) and not(ancestor-or-self::xpathmodel:UnderskriftIkkeNoedvendigIndikator)</XPath>
    					</Transform>
    					<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    				</ds:Transforms>
    				<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
    				<ds:DigestValue>Bz+3tY9T5fr0kbM5s0r6reLSe0E=</ds:DigestValue>
    			</ds:Reference>
    			<Reference Type="http://www.w3.org/2000/09/xmldsig#SignatureProperties" URI="#ID25586497323104-UnderskriftsmappeSignatureProperty">
    				<Transforms>
    					<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    				</Transforms>
    				<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
    				<DigestValue>7JKvaUQTqr83EO3TglaSuT3ZUc4=</DigestValue>
    			</Reference>
    		</ds:SignedInfo>
    		<SignatureValue> </SignatureValue>
    		<KeyInfo>
    			<X509Data>
    				<X509Certificate> </X509Certificate>
    			</X509Data>
    		</KeyInfo>
    		<Object Id="ID00000000000002-AnmelderSignatureObject">
    			<SignatureProperties>
    				<SignatureProperty Id="ID00000000000003-AnmelderSignatureProperty" Target="#ID00000000000001-AnmelderSignature">
    					<model:UnderskriftTidspunkt>2025-05-16T14:03:21</model:UnderskriftTidspunkt>
    				</SignatureProperty>
    			</SignatureProperties>
    		</Object>
    	</msgext:PersonbogAnmaerkningStatusModtag>
    </msgadm:TekstGenerer>

Example response:

    HTTP/1.1 200 OK
    Content-Type: text/plain;charset=ISO-8859-1
    Content-Length: 159

    <?xml version="1.0" encoding="UTF-8"?>
    <StatusType xmlns="http://rep.oio.dk/tinglysning.dk/svarservice/message/integration/1/">
        modtaget
    </StatusType>