...
Anchor |
---|
| _generelle_stamdata |
---|
| _generelle_stamdata |
---|
|
4.1. Generelle Stamdata
...
Disse felter bliver altid præsenteret for en person, og er samlet under et <Praes r="STAMPNR">
-element.
...
Servicen præsenterer kun speciel stamdata.
Anchor |
---|
| _specielle_stamdata |
---|
| _specielle_stamdata |
---|
|
4.2. Specielle Stamdata
PNRABN-I præsenterer ingen specielle stamdata.Disse felter bliver altid præsenteret for en kunde, og er samlet under et <Praes r="STAMKUN">-element.
Table 4. Standard stamdata for en kunde.Felt | Type | Beskrivelse |
---|
KUNDENR | kundenr (format xxxx) | Kundenummer |
5. Aktioner
...
Code Block |
---|
language | xml |
---|
title | Eksempel 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="CprAjour">
<Service r="PNRABN-I">
<CprServiceHeader r="PNRABN-I" ts="2024092510283618010120240925151736066570" st="P" a="I">
<Table r="Aktioner">
<Row>
<Field r="KODE" v="V" t="Validering"/>
</Row>
<Row>
<Field r="KODE" v="F" t="Fortryd"/>
</Row>
<Row>
<Field r="KODE" v="G" t="Gem"/>
</Row>
</Table>
</CprServiceHeader>
<CprData u="O">
<Rolle r="HovedRolle">
<Praes r="STAMPNR"/>
</Rolle>
</CprData>
<CprData u="I">
<Rolle r="HovedRolle">
<Table r="Pnrabonnement offpriv">
<Row u="M">
<Field r="CBRU_NGLKONST"/>
<Field r="CBRU_PNR"/>
<Field r="CBRU_SLETSAETMRK"/>
<Field r="CBRU_KVITNR"/>
<Field r="CBRU_KVIT_TXT"/>
</Row>
<Row k="[ROW KEY]">
<Field r="CBRU_NGLKONST" v="[DATA]"/>
<Field r="CBRU_PNR" v="[DATA]"/>
<Field r="CBRU_SLETSAETMRK" v="[DATA]"/>
<Field r="CBRU_KVITNR" v="[DATA]"/>
<Field r="CBRU_KVIT_TXT" v="[DATA]"/>
</Row>
</Table>
</Rolle>
</CprData>
<Kvit r="Ok" v="0"/>
</Service>
</System>
</Gctp>
</root> |
...
Code Block |
---|
language | xml |
---|
title | Eksempel på et GCTP valideringskald 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="CprAjour">
<Service r="PNRABN-I">
<CprServiceHeader r="PNRABN-I" ts="2024092510283618010120240925151736066570" st="P" mk="1" a="V">
<Key>
<Field r="KNR" v="[DATA]"/>
</Key>
</CprServiceHeader>
<CprData u="I">
<Rolle r="HovedRolle">
<Table r="Pnrabonnement offpriv">
<Row u="M">
<Field r="CBRU_NGLKONST"/>
<Field r="CBRU_PNR"/>
<Field r="CBRU_SLETSAETMRK"/>
<Field r="CBRU_KVITNR"/>
<Field r="CBRU_KVIT_TXT"/>
</Row>
<Row k="[ROW KEY]">
<Field r="CBRU_NGLKONST" v="[DATA]"/>
<Field r="CBRU_PNR" v="[DATA]"/>
<Field r="CBRU_SLETSAETMRK" v="[DATA]"/>
<Field r="CBRU_KVITNR" v="[DATA]"/>
<Field r="CBRU_KVIT_TXT" v="[DATA]"/>
</Row>
</Table>
</Rolle>
</CprData>
</Service>
</System>
</Gctp>
</root> |
Code Block |
---|
language | xml |
---|
title | Eksempel 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="CprAjour">
<Service r="PNRABN-I">
<CprServiceHeader r="PNRABN-I" ts="2024092510283618010120240925151736066570" st="P" mk="1" a="V">
<Key>
<Field r="KNR" v="[DATA]"/>
</Key>
</CprServiceHeader>
<CprData u="O">
<Rolle r="HovedRolle">
<Praes r="STAMPNR"/>
</Rolle>
</CprData>
<CprData u="I">
<Rolle r="HovedRolle">
<Table r="Pnrabonnement offpriv">
<Row u="M">
<Field r="CBRU_NGLKONST"/>
<Field r="CBRU_PNR"/>
<Field r="CBRU_SLETSAETMRK"/>
<Field r="CBRU_KVITNR"/>
<Field r="CBRU_KVIT_TXT"/>
</Row>
<Row k="[ROW KEY]">
<Field r="CBRU_NGLKONST" v="[DATA]"/>
<Field r="CBRU_PNR" v="[DATA]"/>
<Field r="CBRU_SLETSAETMRK" v="[DATA]"/>
<Field r="CBRU_KVITNR" v="[DATA]"/>
<Field r="CBRU_KVIT_TXT" v="[DATA]"/>
</Row>
</Table>
</Rolle>
</CprData>
<Kvit r="Fejl" t="[FEJLTEKST TIL FEJLKODE 42]" v="42"/>
</Service>
</System>
</Gctp>
</root> |
...
Code Block |
---|
language | xml |
---|
title | Eksempel på et GCTP gem-kald 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="CprAjour">
<Service r="PNRABN-I">
<CprServiceHeader r="PNRABN-I" ts="2024092510283618010120240925151736066570" st="P" mk="1" a="G">
<Key>
<Field r="KNR" v="[DATA]"/>
</Key>
</CprServiceHeader>
<CprData u="I">
<Rolle r="HovedRolle">
<Table r="Pnrabonnement offpriv">
<Row u="M">
<Field r="CBRU_NGLKONST"/>
<Field r="CBRU_PNR"/>
<Field r="CBRU_SLETSAETMRK"/>
<Field r="CBRU_KVITNR"/>
<Field r="CBRU_KVIT_TXT"/>
</Row>
<Row k="[ROW KEY]">
<Field r="CBRU_NGLKONST" v="[DATA]"/>
<Field r="CBRU_PNR" v="[DATA]"/>
<Field r="CBRU_SLETSAETMRK" v="[DATA]"/>
<Field r="CBRU_KVITNR" v="[DATA]"/>
<Field r="CBRU_KVIT_TXT" v="[DATA]"/>
</Row>
</Table>
</Rolle>
</CprData>
</Service>
</System>
</Gctp>
</root> |
Code Block |
---|
language | xml |
---|
title | Eksempel 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="CprAjour">
<Service r="PNRABN-I">
<CprServiceHeader r="PNRABN-I" ts="2024092510283618010120240925151736066570" st="P" mk="1" a="G"/>
<Kvit r="Afslut" v="0">
<Table r="AFSLUT">
<Row k="[ROW KEY]"/>
</Table>
</Kvit>
</Service>
</System>
</Gctp>
</root> |
v2.1.12