Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Version 2.0.2

...

Brug af denne service henvender sig kun til offentlige myndigheder.

...

Code Block
languagexml
titleEksempel på GCTP søgning til servicen.
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<root xmlns="http://www.cpr.dk">
    <Gctp v="2.0" env="Udvikling">
        <System r="CprSoeg">
            <Service r="ADRESSE3">
                <CprServiceHeader r="ADRESSE3">
                    <Key>
                        <Field r="PNR" v="[DATA]"/>
                        <Field r="AKX" v="[DATA]"/>
                        <Field r="DISM" v="[DATA]"/>
                    </Key>
                </CprServiceHeader>
            </Service>
        </System>
    </Gctp>
</root>
Code Block
languagexml
titleEksempel på et GCTP svar fra servicen.
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<root xmlns="http://www.cpr.dk">
    <Gctp v="2.0" env="Udvikling">
        <System r="CprSoeg">
            <Service r="ADRESSE3">
                <CprServiceHeader r="ADRESSE3" ts="20220830222305987643"/>
                <CprData u="O">
                    <Rolle r="HovedRolle">
                        <Field r="TIDLADRMRK" v="[DATA]"/>
                        <Field r="KONTAKTADRMRK" v="[DATA]"/>
                        <Field r="TIDLKOMMRK" v="[DATA]"/>
                        <Field r="SUPADRMRK" v="[DATA]"/>
                        <Field r="ADRKOD" v="[DATA]"/>
                        <Field r="TIMSTP" v="[DATA]"/>
                        <Field r="SYSTEM_TS" v="[DATA]"/>
                        <Field r="ADRTS" v="[DATA]"/>
                        <Field r="MYNKOD" v="[DATA]"/>
                        <Field r="VEJKOD" v="[DATA]"/>
                        <Field r="HUSNR" v="[DATA]"/>
                        <Field r="ETAGE" v="[DATA]"/>
                        <Field r="SIDEDOER" v="[DATA]"/>
                        <Field r="BNR" v="[DATA]"/>
                        <Field r="TILFRA_MYNKOD" v="[DATA]"/>
                        <Field r="TILFLYKOMDATO" v="[DATA]"/>
                        <Field r="TILFLYKOMDATOUSM" v="[DATA]"/>
                        <Field r="FRAFLYKOMKOD" v="[DATA]"/>
                        <Field r="FRAFLYKOMDATO" v="[DATA]"/>
                        <Field r="FRAFLYKOMDATOUSM" v="[DATA]"/>
                        <Field r="CONVN" v="[DATA]"/>
                        <Field r="CONVNTS" v="[DATA]"/>
                        <Field r="BYNVN" v="[DATA]"/>
                        <Field r="LOKALITET" v="[DATA]"/>
                        <Field r="POSTNR" v="[DATA]"/>
                        <Field r="STARTDATO" v="[DATA]"/>
                        <Field r="STARTDATOUSM" v="[DATA]"/>
                        <Field r="KOMKOD" v="[DATA]"/>
                        <Field r="UDRLANDEKOD" v="[DATA]"/>
                        <Field r="UDLANDSADR1" v="[DATA]"/>
                        <Field r="UDLANDSADR2" v="[DATA]"/>
                        <Field r="UDLANDSADR3" v="[DATA]"/>
                        <Field r="UDLANDSADR4" v="[DATA]"/>
                        <Field r="UDLANDSADR5" v="[DATA]"/>
                        <Field r="UDLANDADR_TS" v="[DATA]"/>
                        <Field r="UDLANDADR_MYNKOD" v="[DATA]"/>
                        <Field r="FLYTPAMRK" v="[DATA]"/>
                        <Field r="RETSKREDS" v="[DATA]"/>
                        <Field r="SOGNEDIST" v="[DATA]"/>
                        <Field r="VALGDIST" v="[DATA]"/>
                    </Rolle>
                </CprData>
                <Kvit r="Ok" v="0"/>
            </Service>
        </System>
    </Gctp>
</root>
Code Block
languagexml
titleEksempel på et GCTP svar med fejl fra servicen.
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<root xmlns="http://www.cpr.dk">
    <Gctp v="2.0" env="Udvikling">
        <System r="CprSoeg">
            <Service r="ADRESSE3">
                <CprServiceHeader r="ADRESSE3" ts="20220830222305987643"/>
                <Kvit r="Fejl" t="[FEJLTEKST TIL FEJLKODE 42]" v="42"/>
            </Service>
        </System>
    </Gctp>
</root>