Get the addresses of real estates
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://api.nimles.com/property-management/api/tenant/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/RealEstates/providers/example/addresses"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://api.nimles.com/property-management/api/tenant/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/RealEstates/providers/example/addresses';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The address register, e.g. lantmateriet.
Your tenant id.
Query Parameters
Section titled “Query Parameters”The street, number and letter, e.g. Ekbacksvägen 5B.
The postal code, e.g. 434 31.
The postal town (or municipality), e.g. Kungsbacka.
Responses
Section titled “Responses”OK
object
object
object
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.
An RFC 9457 problem.
object
Example generated
{ "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}Not found: no such item in the tenant.
An RFC 9457 problem.
object
Example generated
{ "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}