# AnmeldelseKopiSvar Controller Documentation

Tinglysningsretten
version 0.5

← Back to Main Page

## Overview

e-Tinglysning - Endpoint for AnmeldelseKopiSvar

A service that sends public authorities such as Skat, ESR, and KMS a copy of a registration response for a land registration. This endpoint is provided by each of the public authorities that must receive information when a land registration has taken place, and includes endpoints related to the receipt of responses to registrations.

### Features

- Final response to registration

- Compulsory subscription notifications

### Target Namespace

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

### Schema Includes

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

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

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

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

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

- BilbogAnmaerkningStatusModtag.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/

- Status.xsd - http://rep.oio.dk/tinglysning.dk/svarservice/message/integration/1/

## Messages

Message | Type
--- | ---
AnmeldelseSvarModtag | sanmmsg:AnmeldelseSvarModtag
AnmaerkningStatusModtag | sanmmsg:AnmaerkningStatusModtag
AndelsbogAnmeldelseSvarModtag | sanmmsg:AndelsbogAnmeldelseSvarModtag
AndelsbogAnmaerkningStatusModtag | sanmmsg:AndelsbogAnmaerkningStatusModtag
BilbogAnmeldelseSvarModtag | sanmmsg:BilbogAnmeldelseSvarModtag
BilbogAnmaerkningStatusModtag | sanmmsg:BilbogAnmaerkningStatusModtag
PersonbogAnmeldelseSvarModtag | sanmmsg:PersonbogAnmeldelseSvarModtag
PersonbogAnmaerkningStatusModtag | sanmmsg:PersonbogAnmaerkningStatusModtag

## Endpoints

### AnmeldelseSvarModtag

#### Description

A copy of the response to a submission is received when e-Tinglysning calls this endpoint. The response to a submission includes, among other things, the entire submission and the land registration endorsement.

### AnmaerkningStatusModtag

#### Description

A copy of events related to compulsory subscription is received when e-Tinglysning calls this endpoint. For example, it may be a note that is removed or a deadline that expires.

### AndelsbogAnmeldelseSvarModtag

#### Description

A copy of the response to a submission is received when e-Tinglysning calls this endpoint. The response to a submission includes, among other things, the entire submission and the land registration endorsement.

### AndelsbogAnmaerkningStatusModtag

#### Description

A copy of events related to compulsory subscription is received when e-Tinglysning calls this endpoint. For example, it may be a note that is removed or a deadline that expires.

Example request:

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

    <?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:AndelsbogAnmaerkningStatusModtag>
    		<anm:AndelsbogAnmaerkningStatus>
    			<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:AndelsbogAnmaerkningStatus>
    		<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>
    		</ds:Signature>
    	</msgext:AndelsbogAnmaerkningStatusModtag>
    </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>

### BilbogAnmeldelseSvarModtag

#### Description

A copy of the response to a submission is received when e-Tinglysning calls this endpoint. The response to a submission includes, among other things, the entire submission and the land registration endorsement.

### BilbogAnmaerkningStatusModtag

#### Description

A copy of events related to compulsory subscription is received when e-Tinglysning calls this endpoint. For example, it may be a note that is removed or a deadline that expires.

### PersonbogAnmeldelseSvarModtag

#### Description

A copy of the response to a submission is received when e-Tinglysning calls this endpoint. The response to a submission includes, among other things, the entire submission and the land registration endorsement.

### PersonbogAnmaerkningStatusModtag

#### Description

A copy of events related to compulsory subscription is received when e-Tinglysning calls this endpoint. For example, it may be a note that is removed or a deadline that expires.