nanoq Nanoq

eTax_webservice.GetCprAddressInfo()

Provider

eTax_webservice

Method

GetCprAddressInfo

Description

Deliver basic address information on a person. The service is designed for the widest possible use since it respects address protection.

Sample URL desc.

https://aka.nanoq.gl/etax_webservice/CPR.asmx?op=GetCprAddressInfo

Status

Implemented. Test version released.

Input

 

Name

Type

Description

 

UserId

String

Caller userid

 

PassWord

string

Caller password

 

CPR

string

CPR number on the person.

 

 

 

 

 

Output

 

Type

Format

CPRAdressInfo

public int ReturnCode;
public
string ResultInfo;
public
string LINIE1;
public
string LINIE2;
public
string LINIE3;
public
string LINIE4;
public
string LINIE5;
public
string ADR_FORNVN;
public
string ADR_EFTERNVN;
public
string KOMKOD;
public
string VEJKOD;
public
string VEJNAVN;
public
string HUSNR;
public
string BNR;
public
string POSTNR;
public
string POSTDISTTXT;
public
string ETAGE;
public
string SIDEDOER;
public
string CONVN;
public
string BYGDENAVN;

ReturnCode values

  •  0 = Requested person found – the only result that also returns address info

  • -1 = Person not found.

  • -2 = Person has address outside Greenland

  • -3 = Person has active address protection

  • -8 = Input CPR is not valid

  • -9 = Data Error. Information has been logged. Kontact KIMIK iT support

ResultInfo

Some description of the result

Testversion

On sample url

https://aka.nanoq.gl/etax_webservice/CPR.asmx?op=GetCprAddressInfo_Test

is a testversion of the service.

This version returns:

-          Information on CPR = 0101704711, 1304283824 (Tanja Bank, Test NemID), 1703501821 (Thorkil Dahl, Test NemID and Living in a Bygd) , 0202940001, 0202940003, 0202940005, 2507830077, 0101370011 and 0811611212

-          Person has no addres in greenland on cpr = 0101704712 and 1404292539 (Thore Svendsen, Test NemID)

-          Person has active adressprotection on CPR = 0101704713

-          Person not found on every other test CPR number

© Copyright KIMIK iT A/S