Versions Compared

Key

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

...

Code Block
languagexml
titleEksempel på GCTP søgning til servicen.
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<root><root xmlns="http://www.cpr.dk">
    <Gctp v="2.0" env="Udvikling">
        <System r="CprSoeg">
            <Service r="FODREG2">
                <CprServiceHeader r="FODREG2">
                    <Key>
                        <Field r="PNR" v="[DATA]"/>
                        <Field r="AKX" 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><root xmlns="http://www.cpr.dk">
    <Gctp v="2.0" env="Udvikling">
        <System r="CprSoeg">
            <Service r="FODREG2">
                <CprServiceHeader r="FODREG2" ts="20220830222305987643"/>
                <CprData u="O">
                    <Rolle r="HovedRolle">
                        <Field r="CFST_TIMSTP" v="[DATA]"/>
                        <Field r="CFST_SYSTEMTIMSTP" v="[DATA]"/>
                        <Field r="CFST_STARTMYNKOD" v="[DATA]"/>
                        <Field r="CFST_FOEDSTEDTIMSTP" v="[DATA]"/>
                        <Field r="CFST_MYNTXTMYNKOD" v="[DATA]"/>
                        <Field r="CFST_MYNTXTTIMSTP" v="[DATA]"/>
                        <Field r="CFST_MYNTXT" v="[DATA]"/>
                        <Field r="CFST_DOKMYNKOD" v="[DATA]"/>
                        <Field r="CFST_DOKTIMSTP" v="[DATA]"/>
                        <Field r="CFST_DOK" v="[DATA]"/>
                        <Field r="HISTORIKMRK" 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>
<root xmlns="http://www.cpr.dk">
    <Gctp v="2.0" env="Udvikling">
        <System r="CprSoeg">
            <Service r="FODREG2">
                <CprServiceHeader r="FODREG2" ts="20220830222305987643"/>
                <Kvit r="Fejl" t="[FEJLTEKST TIL FEJLKODE 42]" v="42"/>
            </Service>
        </System>
    </Gctp>
</root>