Skip to content

List Meter Readings

Queries meter readings with filters and returns all output fields defined in the Fracttal ETL schema.


General information:

Module Category
Put Read

ListMeterReadings

Parameters:

  • id: str, optional

Input parameters:

Field Type Required Description Default Value Examples

Usage example:

[
  {
    "id": "MTR001",
    "code": "MTR-CODE-001",
    "serial": "SN123456",
    "since": "2023-01-01",
    "until": "2023-12-31",
    "id_meter": 1,
    "date_reading": "2023-10-01",
    "date": "2023-10-01",
    "data": {
      "date": "2023-10-01",
      "value": 150,
      "accumulated_value": 1200
    },
    "units_description": "kWh",
    "units_code": "KWH",
    "trigger_run": true,
    "source": "automatic",
    "items_code": "ITEM001",
    "items_description": "Electricity Consumption",
    "parent_description": "Building A",
    "value": 150,
    "previous_date": "2023-09-01",
    "previous_value": 130,
    "next_date": "2023-11-01",
    "next_value": "170",
    "id_company": 100,
    "description": "Monthly meter reading",
    "is_counter": true,
    "counter_offset_value": 0,
    "counter_value": 150,
    "monthly_average_data": {
      "2023-01": 120,
      "2023-02": 130,
      "2023-03": 140
    }
  }
]

Notes:

Use this model to query meter readings and obtain all output fields defined in the schema.