Search your property units (Fastighet)
fastighetsbenchmark_search_property_unitsFind property units by name, property type, municipality, or comparison-zone membership and obtain their sedisIds for time-series comparison.
Instructions
Read-only. Find YOUR property units (Fastighet) by name, property-type id, municipality, or comparison-zone membership, returning each unit's sedisId. This is the §8 A6 flow's object-finding step: take a comparison zone from fastighetsbenchmark_list_jamforelseobjekt and filter here with belongsToJamforelseobjektSedisId, then pass the resulting sedisIds to fastighetsbenchmark_get_comp_timeseries via sedisIdIn. Lean by default: geometry is omitted unless you set includeGeometry: true. Example: propertyType 1 (Office), belongsToJamforelseobjektSedisId 'JO-A'. Tenant-scoped to your data; read-only — never writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for names/descriptions; English default, 'sv' for Swedish. | |
| page | No | 1-indexed result page (first page = 1), e.g. 1. | |
| sort | No | Comma-separated sort fields; prefix '-' for descending, e.g. '-name'. | |
| pageSize | No | Rows per page (v2 default 50, max 500), e.g. 50. | |
| nameContains | No | Case-insensitive property-unit-name fragment, e.g. 'Office'. | |
| propertyType | No | Property-type id (int, NOT a name); discover ids from find_parameter enumValues, e.g. 1 = Kontor/Office. | |
| municipalityId | No | Municipality id to filter by, e.g. 180 (Stockholm). | |
| includeGeometry | No | false (default, lean) omits geometry; true opts the heavy geometry member into the response via ?fields=. | |
| propertyTypeName | No | Property-type by NAME (locale-aware), e.g. 'Office'/'Kontor'; alternative to the numeric propertyType id. | |
| belongsToJamforelseobjektSedisId | No | Comparison-zone sedisId (from list_jamforelseobjekt) — returns only your units in that zone, e.g. 'JO-A'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Your matching property units (Fastighet). | |
| page | Yes | The page you are on (1-indexed). | |
| pageSize | No | Rows per page echoed back by v2, e.g. 50. | |
| totalCount | No | Total matching rows across all pages; null/absent when count is skipped. | |
| totalPages | No | Total page count; null/absent when count is skipped. |