get
https://example.com/addresses//
Get Addresses returns all available names and addresses for a legal person in the specified country.
Currently Get Addresses is only supported for Sweden.
HTTP Request
GET /addresses/{countryCode}/{governmentId}
Request Parameters
| Property | Type | Description |
|---|---|---|
countryCoderequired | string(2) | The two-letter country code in ISO 3166 format. Examples: "SE" |
governmentIdrequired | string(12) | For Sweden: The customer's 12 digit personnummer, with or without a dash. Examples: "198901157993", "19890115-7993" |
Response Parameters
| Property | Type | Description |
|---|---|---|
governmentIdconditional | string(12) | Conditions: > This parameter is not returned in error situations Example: 199612082165 |
countryCodeconditional | string(2) | Conditions: > This parameter is not returned in error situations Example: "SE" |
addressesconditional | array of nameAndAddress | Conditions: > This parameter is not returned in error situations |
statusrequired | status | API operation status Example: { "isSuccess": true, "errorNumber": 0, "statusKey": "SUCCESS", "statusMessage": "The operation was successful.", "errors": null, "exceptionDetails": null } |
