GET /api/external/v3/statistics/space/level/{ordinal}/updated-after/{date}/energy-usage

Get all monthly data points for a space level that have been updated after a specific date, grouped by usage type.

Request Information

Permissions

The user must be authorized and must have at least one of these operations to access this api method.

Operation (significant name)Description
Access external API (acc_extapi) Gives the user access to the external API.

Embeded Resource Parameters

None

URI Parameters

NameDescriptionTypeAdditional information
ordinal

Ordinal of the desired level.

integer

Required

date

Only get data points that have an update time later than this date. Must be within 5 years of today.

date

Required

Body Parameters

None.

Response Information

Resource Description

A list with energy data if any, otherwise an empty list.

DataResultOfSpaceStatsEnergyUsageDto
NameDescriptionTypeAdditional information
Data

Collection of SpaceStatsEnergyUsageDto

None.

Total

integer

None.

Take

integer

None.

Skip

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "usageType": "sample string 1",
      "usageClass": "sample string 2",
      "spaceId": 3,
      "spaceNo": "sample string 4",
      "spaceName": "sample string 5",
      "spaceSynchronizationKey": "sample string 6",
      "date": "2025-04-26T14:07:48.7689389+02:00",
      "energyUnit": "sample string 8",
      "energy": 1.1,
      "energyNormalized": 1.1,
      "energyClimateNeutral": 1.1,
      "costTotal": 1.0,
      "costFixed": 1.0,
      "costCons": 1.0,
      "costDeb1": 1.0,
      "costDeb2": 1.0,
      "cO2": 1.1,
      "lastUpdated": "2025-04-26T14:07:48.7689389+02:00"
    },
    {
      "usageType": "sample string 1",
      "usageClass": "sample string 2",
      "spaceId": 3,
      "spaceNo": "sample string 4",
      "spaceName": "sample string 5",
      "spaceSynchronizationKey": "sample string 6",
      "date": "2025-04-26T14:07:48.7689389+02:00",
      "energyUnit": "sample string 8",
      "energy": 1.1,
      "energyNormalized": 1.1,
      "energyClimateNeutral": 1.1,
      "costTotal": 1.0,
      "costFixed": 1.0,
      "costCons": 1.0,
      "costDeb1": 1.0,
      "costDeb2": 1.0,
      "cO2": 1.1,
      "lastUpdated": "2025-04-26T14:07:48.7689389+02:00"
    }
  ],
  "total": 1,
  "take": 2,
  "skip": 3
}