User Tools

Site Tools


fmk:ddv:extensions:getnotificationunsubscription

This is an old revision of the document!


GetNotificationUnsubscription

Denne service gør det muligt at hente eksplicit fravalg af påmindelser om vaccinationer for en borger. Optionelt kan der forespørges på fravalg der gælder andre modtagere end blot borgeren selv.

Servicen returnerer CPR-nummer på den person, som forespøres på, samt et element der angiver et fravalg, samt Creator af fravalget.

Forespørgsel
<e1:GetNotificationUnsubscriptionRequest>
    <cpr:PersonCivilRegistrationIdentifier>1111111118</cpr:PersonCivilRegistrationIdentifier>
    <e1:IncludeRecipients/>
</e1:GetNotificationUnsubscriptionRequest>
Svar

Her returneres fravalg der gælder påmindelser om 1111111118 til de to modtagere 1412122323 samt 1112781212.

<e1:GetNotificationUnsubscriptionResponse>
    <cpr:PersonCivilRegistrationIdentifier>1111111118</cpr:PersonCivilRegistrationIdentifier>
    <e1:Unsubscription>
        <ddv140:Created> .. </ddv140:Created>
        <e1:RecipientPersonIdentifier>1412122323</e1:RecipientPersonIdentifier>
    </e1:Unsubscription>
    <e1:Unsubscription>
        <ddv140:Created> .. </ddv140:Created>
        <e1:RecipientPersonIdentifier>1112781212</e1:RecipientPersonIdentifier>
    </e1:Unsubscription>
</e1:GetNotificationUnsubscriptionResponse>
Fejl
  • PersonWithCprNotFound(4000, “Person med CPR-nr. {0} kunne ikke findes!”, CLIENT)
fmk/ddv/extensions/getnotificationunsubscription.1574858157.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki