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 |
---|---|---|
countryCode required | string(2) | The two-letter country code in ISO 3166 format. Examples: "SE" |
governmentId required | string(12) | For Sweden: The customer's 12 digit personnummer, with or without a dash. Examples: "198901157993" , "19890115-7993" |
Response Parameters
Property | Type | Description |
---|---|---|
governmentId conditional | string(12) | Conditions: > This parameter is not returned in error situations Example: 199612082165 |
countryCode conditional | string(2) | Conditions: > This parameter is not returned in error situations Example: "SE" |
addresses conditional | array of nameAndAddress | Conditions: > This parameter is not returned in error situations |
status required | status | API operation status Example: { "isSuccess": true, "errorNumber": 0, "statusKey": "SUCCESS", "statusMessage": "The operation was successful.", "errors": null, "exceptionDetails": null } |