Get the CompDatum time-series
fastighetsbenchmark_get_comp_timeseriesRetrieve property benchmarking time-series for comparables using sedisId, parameterCode, and date range. Returns self-describing rows with typed values (decimal, boolean, enum, date) for accurate analysis.
Instructions
Read-only. Pull the actual benchmarking numbers (CompDatum time-series) for one or more Comps. This is the FINAL step of the §8 A6 flow: pass the sedisIds you found (from fastighetsbenchmark_search_property_units, _list_samlingar's containingCompSedisIds, or _list_jamforelseobjekt) as a comma-separated sedisIdIn, plus a parameterCode from fastighetsbenchmark_find_parameter and an ISO date range. Each row is SELF-DESCRIBING via dataType (decimal/boolean/enum/date) — read the matching member (figure/boolean/enum/date); an enum resolves to { value, name, enumType }, so use enum.name, never the raw int. Every row keeps its sedisId (do not conflate Comps). Use count: false for cheap bulk paging. Example: sedisIdIn 'PU-1,PU-2', parameterCode 'NX71', fromDate '2016-01-01', toDate '2026-12-31'. Tenant-scoped to your data; read-only — never writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-indexed result page (first page = 1), e.g. 1. | |
| count | No | false (default) skips totalCount for cheaper high-volume bulk paging, e.g. false. | |
| toDate | No | Inclusive upper ISO date bound (yyyy-MM-dd), e.g. '2026-12-31'. | |
| fromDate | No | Inclusive lower ISO date bound (yyyy-MM-dd), e.g. '2016-01-01'. | |
| pageSize | No | Rows per page (v2 default 50, max 500), e.g. 50. | |
| sedisIdIn | Yes | Comma-separated Comp sedisIds to fetch (multi-value), e.g. 'PU-1,PU-2'. | |
| parameterCode | No | CompParameter code from fastighetsbenchmark_find_parameter; omit for all parameters, e.g. 'NX71'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Self-describing CompDatum rows — one per Comp+parameter+valueDate; dataType + sedisId kept on every row. | |
| page | Yes | The page you are on (1-indexed). | |
| pageSize | No | Rows per page used for this response. | |
| totalCount | No | Total matching rows across all pages; null/absent when count=false (v2 omits the key). | |
| totalPages | No | Total page count; null/absent when count=false. |