GET v1/measures/list-hourly?monitoringPointId={monitoringPointId}&startDate={startDate}&endDate={endDate}&parameterCode={parameterCode}&page={page}

Get list of hourly measures for the sensor.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
monitoringPointId

Point ID

integer

Required

startDate

Start Date

date

None.

endDate

End Date

date

None.

parameterCode

Get List of parameters of the sensor obtained by the method: [GET]v1/monitoring-point/parameters?monitoringPointId={monitoringPointId}

string

None.

page

Page

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

Return list of hourly measures for the sensor.

PageResultsOfMeasuresHourlyIndicators
NameDescriptionTypeAdditional information
Total

integer

None.

PageSize

integer

None.

PageCount

integer

None.

Items

Collection of MeasuresHourlyIndicators

None.

Response Formats

application/json, text/json

Sample:
{
  "Total": 1,
  "PageSize": 2,
  "PageCount": 3,
  "Items": [
    {
      "Date": "2025-12-09T18:09:20.0637335+00:00",
      "MinimumValue": 2.0,
      "MaximumValue": 3.0,
      "AverageValue": 4.0
    },
    {
      "Date": "2025-12-09T18:09:20.0637335+00:00",
      "MinimumValue": 2.0,
      "MaximumValue": 3.0,
      "AverageValue": 4.0
    }
  ]
}

application/xml, text/xml

Sample:
<PageResultsOfMeasuresHourlyIndicatorsexSRqZPE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/I9P.SmartCity.API.Models">
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/I9P.SmartCity.BLL.Models">
    <d2p1:MeasuresHourlyIndicators>
      <d2p1:AverageValue>4</d2p1:AverageValue>
      <d2p1:Date>2025-12-09T18:09:20.0637335+00:00</d2p1:Date>
      <d2p1:MaximumValue>3</d2p1:MaximumValue>
      <d2p1:MinimumValue>2</d2p1:MinimumValue>
    </d2p1:MeasuresHourlyIndicators>
    <d2p1:MeasuresHourlyIndicators>
      <d2p1:AverageValue>4</d2p1:AverageValue>
      <d2p1:Date>2025-12-09T18:09:20.0637335+00:00</d2p1:Date>
      <d2p1:MaximumValue>3</d2p1:MaximumValue>
      <d2p1:MinimumValue>2</d2p1:MinimumValue>
    </d2p1:MeasuresHourlyIndicators>
  </Items>
  <PageCount>3</PageCount>
  <PageSize>2</PageSize>
  <Total>1</Total>
</PageResultsOfMeasuresHourlyIndicatorsexSRqZPE>