Skip to content

[GET] Building Report

/api/tenant-metering/buildingReport

Returns a CSV file that contains the aggregated readings for all areas and its tenant meters

BuildingReportRequestDTO

Attributes:

Name Type Description
start_datetime datetime

datetime in "YYYY-MM-DD HH:MM:SS" ISO format

end_datetime datetime

datetime in "YYYY-MM-DD HH:MM:SS" ISO format

site_id int

id of the Site.

energy_type EnergyTypeEnum

determines how cost is computed

electricity_rate Optional[Decimal]

cost of electricity in PHP/KWH. Defaults to 0 if not given

water_rate Optional[Decimal]

cost of water in PHP/(some unit). Defaults to 0 if not given

EnergyTypeEnum

Attributes:

Name Type Description
ELECTRICITY

derive readings from electric meters

WATER

derive readings from flow meters