Skip to content

Get the addresses of real estates

GET
/api/tenant/{tenantId}/RealEstates/providers/{provider}/addresses
curl --request GET \
--url https://api.nimles.com/property-management/api/tenant/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/RealEstates/providers/example/addresses \
--header 'Authorization: Bearer <token>'

Finds the real estates at a street address, so an app can offer the owner “Is this your property?” instead of asking them to type the designation. Only an address point that is the given address counts (street, number and letter, and the postal code, or without one the town); joint properties are left out. Nothing is saved.

Asking a register needs Nimles.PropertyManagement.Contract.RealEstateActions.Sync somewhere, as the other lookups. Answers 400 (a plain text message) for a street under 3 or over 200 characters, neither a postal code nor a town, or a value too long; 403 without the scope; 404 for an unknown provider; 429 (with Retry-After) when the caller’s, the tenant’s or this pod’s lookups of the day are spent (Nimles.PropertyManagement.Api.Services.RegisterLookupQuota); 503 when it is not configured or throttles; 502 when it cannot be reached; 200 with an empty list when nothing is found.

provider
required
string

The address register, e.g. lantmateriet.

tenantId
required
string format: uuid

Your tenant id.

street
string

The street, number and letter, e.g. Ekbacksvägen 5B.

postalCode
string

The postal code, e.g. 434 31.

city
string

The postal town (or municipality), e.g. Kungsbacka.

OK

Media typeapplication/json
object
fields
object
key
additional properties
string
data
Array<object>
nullable
object
provider
required
string
nullable
externalId
required
string
nullable
designation
required
string
nullable
type
string
nullable
street
string
nullable
postalCode
string
nullable
city
string
nullable
municipality
string
nullable

Example generated

{
"data": [
{
"provider": "example",
"externalId": "example",
"designation": "example",
"type": "example",
"street": "example",
"postalCode": "example",
"city": "example",
"municipality": "example"
}
]
}

Unauthorized: no bearer token, or one that is expired or not for this API.

Forbidden: the caller holds no role that allows this action at this scope. The body is empty, or a problem whose detail names the action.

Media typeapplication/json

An RFC 9457 problem.

object
detail
string
nullable
instance
string
nullable
status
integer format: int32
nullable
title
string
nullable
type
string
nullable
key
additional properties

Example generated

{
"detail": "example",
"instance": "example",
"status": 1,
"title": "example",
"type": "example"
}

Not found: no such item in the tenant.

Media typeapplication/problem+json

An RFC 9457 problem.

object
detail
string
nullable
instance
string
nullable
status
integer format: int32
nullable
title
string
nullable
type
string
nullable
key
additional properties

Example generated

{
"detail": "example",
"instance": "example",
"status": 1,
"title": "example",
"type": "example"
}