Page History
...
På samme måde som DetGodeCprOplag findes der 2 3 endpoints:
http://stamdatahost:8080/stamdata-cpr-ws/service/StamdataPersonLookup-1.0.1
http://stamdatahost:8080/stamdata-cpr-ws/service/StamdataPersonLookup-1.1.0
http://stamdatahost:8080/stamdata-cpr-ws/service/StamdataPersonLookup-1.2.0
Det De første endpoint endpoints findes kun af hensyn til bagud kompatibilitet og anvender wsdl filer som ligger i mappen mapperne PERSONLOOKUP_1.0.1 og PERSONLOOKUP_1.1.0.
Det anbefales man anvender StamdataPersonLookup-1.12.0 i nye projekter, wsdl filerne til denne kan findes i PERSONLOOKUP_1.12.0 mappen.
5.4.2 Whitelistning
Snitflader er beskyttet af en whitelistning. Et cvr nummer skal være whitelistet til ”SDM” og at kalde getPersonDetails og getPersonDetail, ”SDMwithConsent” for at kalde getPersonDetailsWithContents, og "SDMwithCPR" for at kalde searchPersonDetails.
5.4.3 Mangelfuld data og Fejlfyldt CPR data
...
</stam:PersonLookupResponse>
Kald 5 (Søgeopslag vha. fødselsdato):
Operationen searchPersonDetails tager et navn eller en fødselsdato som parameter, og returnerer personer der matcher parameteren. I nedenstående eksempel er der søgt på fødselsdato.
<stam:PersonSearchRequest>
<BirthDatePersonQuery>2020-09-30+02:00</BirthDatePersonQuery>
</stam:PersonSearchRequest>
Svar 5
| Code Block | ||
|---|---|---|
| ||
<stam:PersonLookupResponse>
<ns:PersonInformationStructure>
<ns:CurrentPersonCivilRegistrationIdentifier>0101027302</ns:CurrentPersonCivilRegistrationIdentifier>
<ns:RegularCPRPerson>
<ns:SimpleCPRPerson>
<ns:PersonNameStructure>
<ns:PersonGivenName>Peter</ns:PersonGivenName>
<ns:PersonMiddleName>Sigurd</ns:PersonMiddleName>
<ns:PersonSurnameName>Andersen</ns:PersonSurnameName>
</ns:PersonNameStructure>
<ns:PersonCivilRegistrationIdentifier>0103952595</ns:PersonCivilRegistrationIdentifier>
</ns:SimpleCPRPerson>
<ns:PersonNameForAddressingName>Peter,Andersen</ns:PersonNameForAddressingName>
<ns:PersonGenderCode>male</ns:PersonGenderCode>
<ns:PersonInformationProtectionIndicator>true</ns:PersonInformationProtectionIndicator>
<ns:PersonBirthDateStructure>
<ns:BirthDate>2020-09-30+02:00</ns:BirthDate>
<ns:BirthDateUncertaintyIndicator>true</ns:BirthDateUncertaintyIndicator>
</ns:PersonBirthDateStructure>
<ns:PersonCivilRegistrationStatusStructure>
<ns:PersonCivilRegistrationStatusCode>1</ns:PersonCivilRegistrationStatusCode>
<ns:PersonCivilRegistrationStatusStartDate>2020-10-01+02:00</ns:PersonCivilRegistrationStatusStartDate>
</ns:PersonCivilRegistrationStatusStructure>
</ns:RegularCPRPerson>
<ns:PersonAddressStructure>
<ns:CareOfName>Søren Petersen</ns:CareOfName>
<ns:AddressComplete>
<ns:AddressAccess>
<ns:MunicipalityCode>0461</ns:MunicipalityCode>
<ns:StreetCode>0234</ns:StreetCode>
<ns:StreetBuildingIdentifier>10</ns:StreetBuildingIdentifier>
</ns:AddressAccess>
<ns:AddressPostal>
<ns:StreetName>Ørstedgade</ns:StreetName>
<ns:StreetNameForAddressingName>Østergd.</ns:StreetNameForAddressingName>
<ns:StreetBuildingIdentifier>10</ns:StreetBuildingIdentifier>
<ns:FloorIdentifier>12</ns:FloorIdentifier>
<ns:SuiteIdentifier>tv</ns:SuiteIdentifier>
<ns:DistrictSubdivisionIdentifier>BirkeBy</ns:DistrictSubdivisionIdentifier>
<ns:PostCodeIdentifier>6666</ns:PostCodeIdentifier>
<ns:DistrictName>Überwald</ns:DistrictName>
<ns:CountryIdentificationCode scheme="iso3166-alpha2">DK</ns:CountryIdentificationCode>
</ns:AddressPostal>
</ns:AddressComplete>
<ns:PersonInformationProtectionStartDate>2000-01-01+01:00</ns:PersonInformationProtectionStartDate>
<ns:CountyCode>1083</ns:CountyCode>
</ns:PersonAddressStructure>
</ns:PersonInformationStructure>
</stam:PersonLookupResponse> |
5.5 Enkeltopslag i yderregistret
...