Residentia REST API
  1. location
Residentia REST API
  • Overview
  • location
    • /location
      GET
    • getLocationByLocationNumber
      GET
  • sensor
    • getSensorBySensorId
      GET
    • getSensorHistoryBySensorId
      GET
  • overdrive
    • setOverdriveSettings
      POST
    • getOverdriveSettings
      GET
    • getOneLocationOverdriveSettings
      GET
  • consumption_report
    • getMonthlyConsumption
      GET
    • getDailyConsumption
      GET
    • getDistrictHeating
      GET
    • specificEnergyConsumption
      GET
  • Schemas
    • Schemas
      • LocationItem
      • LocationSensorItem
      • SensorItem
      • SensorHistoryItem
      • HistoryData
      • OverdriveBody
      • Overdrive
      • OverdrivePostResponse
      • OverdriveGetResponse
      • MonthlyConsumptionItem
  1. location

getLocationByLocationNumber

GET
https://residentia.fi/api/v1/location/{locationNumber}
Get the all sensors and their current values of the selected location

Request

Authorization
API Key
Add parameter in header
X-ApiKey
Example:
X-ApiKey: ********************
or
Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://residentia.fi/api/v1/location/' \
--header 'X-ApiKey: <api-key>'

Responses

🟢200OK
application/json
successful operation
Body

Example
[
    {
        "sensor_id": "A000000001",
        "disp_name": "KL meno",
        "timestamp": 1541769538,
        "value": 85.5,
        "unit": "°C"
    }
]
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
🟠429429
Modified at 2025-04-30 12:20:30
Previous
/location
Next
getSensorBySensorId
Built with