Get Debtor Addresses
Get debtor addresses using filters
GET /v1/Debtors/{debtorGuid}/Addresses
Use the Test or Production base URL configured under Overview.
Path parameters
| Parameter | Mandatory | Description |
|---|---|---|
| debtorGuid | Yes | string Debtor guid |
Query parameters
Filter conditions use a simplified OData format.
| Parameter | Mandatory | Description |
|---|---|---|
| $filter | No | string Filter conditions specified in a simplified OData format |
| $skip | No | integer <int32> List offset when paginating (default 0) |
| $top | No | integer <int32> Maximum size of result (default 25, max 100) |
| $orderby | No | string Sorting conditions E.g. "fullname desc" |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Response fields
HTTP 200
| Field path | Mandatory | Description |
|---|---|---|
| count | Yes | integer <int32> Number of returned filtered addresses |
| skip | Yes | integer <int32> Offset of filtered addresses |
| total | Yes | integer <int32> Total number of filtered addresses |
| value | No | array of object or null All filtered addresses |
| value[].addressGuid | No | string or null Unique address guid |
| value[].addressType | No | string or null Type of address. LEGAL or user defined. |
| value[].fullName | No | string or null Name to use instead on the real name when using this address, e.g. an invoice reading service. Usually null. |
| value[].street | No | string or null Street |
| value[].houseNo | No | string or null House number |
| value[].houseNoExtension | No | string or null House number extension |
| value[].city | No | string or null City |
| value[].zipCode | No | string or null Zipcode |
| value[].stateCode | No | string or null State code |
| value[].countryCode | No | string or null Country code |
| value[].fullAddress | No | string or null Fully formatted address including new lines |
| value[].addressNotValidDate | No | string <date-time> or null Date when the address was marked as not valid anymore |
| value[].defaultAddress | No | boolean or null Flag if this address should be treated as the default address |
| value[].validFrom | No | string <date-time> or null Date when the address is valid from |
| value[].validTo | No | string <date-time> or null Date when the address is valid to |
| value[].validatedAt | No | string <date-time> or null Date when the address last validated |
| value[].validOverride | No | boolean or null Flag to overrule the valid from/to interval |
| value[].lastUpdatedAt | No | string <date-time> or null Timestamp when the address was last updated |
HTTP 400
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 401
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 403
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 404
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 408
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
