GET api/Groups/{groupId}/Measurements/History?start={start}&end={end}

Get all measurements for a specific timeframe for a group. This time frame cannot be bigger than 24 hours.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupId

The group id

integer

Required

start

Start of the period

date

Required

end

End of the period

date

Required

Body Parameters

None.

Response Information

Resource Description

List of measurements within the specified period

Collection of Measurement
NameDescriptionTypeAdditional information
Id

integer

None.

Timestamp

date

None.

RoadTemperture1

decimal number

Range: inclusive between -20 and 150

RoadTemperture2

decimal number

Range: inclusive between -20 and 150

RoadTemperture3

decimal number

Range: inclusive between -20 and 150

RoadTemperture4

decimal number

Range: inclusive between -20 and 150

RoadTemperture5

decimal number

Range: inclusive between -20 and 150

RoadTemperture6

decimal number

Range: inclusive between -20 and 150

RoadTemperture7

decimal number

Range: inclusive between -20 and 150

RoadTemperture8

decimal number

Range: inclusive between -20 and 150

RoadTemperture9

decimal number

Range: inclusive between -20 and 150

RoadTemperture10

decimal number

Range: inclusive between -20 and 150

RoadTemperture11

decimal number

Range: inclusive between -20 and 150

RoadTemperture12

decimal number

Range: inclusive between -20 and 150

RoadTempertureAverage

decimal number

Range: inclusive between -20 and 150

AirTemperature

decimal number

Range: inclusive between -20 and 150

BottomTemperature

decimal number

Range: inclusive between -20 and 150

DewPointTemperature

decimal number

Range: inclusive between -20 and 150

RelativeHumidity

decimal number

Range: inclusive between 0 and 100

Criteria

string

None.

PrecipitationPresence

boolean

None.

PrecipicationAmount

integer

Range: inclusive between 0 and 999

RoadConductivity1

integer

Range: inclusive between 0 and 999

RoadConductivity2

integer

Range: inclusive between 0 and 999

RoadConductivity3

integer

Range: inclusive between 0 and 999

RoadConductivity4

integer

Range: inclusive between 0 and 999

RoadConductivity5

integer

Range: inclusive between 0 and 999

RoadConductivity6

integer

Range: inclusive between 0 and 999

RoadConductivity7

integer

Range: inclusive between 0 and 999

RoadConductivity8

integer

Range: inclusive between 0 and 999

RoadConductivity9

integer

Range: inclusive between 0 and 999

RoadConductivity10

integer

Range: inclusive between 0 and 999

RoadConductivity11

integer

Range: inclusive between 0 and 999

RoadConductivity12

integer

Range: inclusive between 0 and 999

RoadConductivityAverage

integer

Range: inclusive between 0 and 999

WindSpeed

integer

Range: inclusive between 0 and 250

WindDirection

integer

Range: inclusive between 0 and 8

MeasuringStation

MeasuringStation

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Timestamp": "2024-11-21T10:09:14.498207+00:00",
    "RoadTemperture1": 1.0,
    "RoadTemperture2": 1.0,
    "RoadTemperture3": 1.0,
    "RoadTemperture4": 1.0,
    "RoadTemperture5": 1.0,
    "RoadTemperture6": 1.0,
    "RoadTemperture7": 1.0,
    "RoadTemperture8": 1.0,
    "RoadTemperture9": 1.0,
    "RoadTemperture10": 1.0,
    "RoadTemperture11": 1.0,
    "RoadTemperture12": 1.0,
    "RoadTempertureAverage": 1.0,
    "AirTemperature": 1.0,
    "BottomTemperature": 1.0,
    "DewPointTemperature": 1.0,
    "RelativeHumidity": 1.0,
    "Criteria": "sample string 3",
    "PrecipitationPresence": true,
    "PrecipicationAmount": 1,
    "RoadConductivity1": 1,
    "RoadConductivity2": 1,
    "RoadConductivity3": 1,
    "RoadConductivity4": 1,
    "RoadConductivity5": 1,
    "RoadConductivity6": 1,
    "RoadConductivity7": 1,
    "RoadConductivity8": 1,
    "RoadConductivity9": 1,
    "RoadConductivity10": 1,
    "RoadConductivity11": 1,
    "RoadConductivity12": 1,
    "RoadConductivityAverage": 1,
    "WindSpeed": 1,
    "WindDirection": 1,
    "MeasuringStation": {
      "Name": "sample string 1",
      "Latitude": 2.0,
      "Longitude": 3.0,
      "Id": 4
    }
  },
  {
    "Id": 1,
    "Timestamp": "2024-11-21T10:09:14.498207+00:00",
    "RoadTemperture1": 1.0,
    "RoadTemperture2": 1.0,
    "RoadTemperture3": 1.0,
    "RoadTemperture4": 1.0,
    "RoadTemperture5": 1.0,
    "RoadTemperture6": 1.0,
    "RoadTemperture7": 1.0,
    "RoadTemperture8": 1.0,
    "RoadTemperture9": 1.0,
    "RoadTemperture10": 1.0,
    "RoadTemperture11": 1.0,
    "RoadTemperture12": 1.0,
    "RoadTempertureAverage": 1.0,
    "AirTemperature": 1.0,
    "BottomTemperature": 1.0,
    "DewPointTemperature": 1.0,
    "RelativeHumidity": 1.0,
    "Criteria": "sample string 3",
    "PrecipitationPresence": true,
    "PrecipicationAmount": 1,
    "RoadConductivity1": 1,
    "RoadConductivity2": 1,
    "RoadConductivity3": 1,
    "RoadConductivity4": 1,
    "RoadConductivity5": 1,
    "RoadConductivity6": 1,
    "RoadConductivity7": 1,
    "RoadConductivity8": 1,
    "RoadConductivity9": 1,
    "RoadConductivity10": 1,
    "RoadConductivity11": 1,
    "RoadConductivity12": 1,
    "RoadConductivityAverage": 1,
    "WindSpeed": 1,
    "WindDirection": 1,
    "MeasuringStation": {
      "Name": "sample string 1",
      "Latitude": 2.0,
      "Longitude": 3.0,
      "Id": 4
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfMeasurement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DomainLayer.Models">
  <Measurement>
    <AirTemperature>1</AirTemperature>
    <BottomTemperature>1</BottomTemperature>
    <Criteria>sample string 3</Criteria>
    <DewPointTemperature>1</DewPointTemperature>
    <Id>1</Id>
    <MeasuringStation>
      <Id>4</Id>
      <Latitude>2</Latitude>
      <Longitude>3</Longitude>
      <Name>sample string 1</Name>
    </MeasuringStation>
    <PrecipicationAmount>1</PrecipicationAmount>
    <PrecipitationPresence>true</PrecipitationPresence>
    <RelativeHumidity>1</RelativeHumidity>
    <RoadConductivity1>1</RoadConductivity1>
    <RoadConductivity10>1</RoadConductivity10>
    <RoadConductivity11>1</RoadConductivity11>
    <RoadConductivity12>1</RoadConductivity12>
    <RoadConductivity2>1</RoadConductivity2>
    <RoadConductivity3>1</RoadConductivity3>
    <RoadConductivity4>1</RoadConductivity4>
    <RoadConductivity5>1</RoadConductivity5>
    <RoadConductivity6>1</RoadConductivity6>
    <RoadConductivity7>1</RoadConductivity7>
    <RoadConductivity8>1</RoadConductivity8>
    <RoadConductivity9>1</RoadConductivity9>
    <RoadConductivityAverage>1</RoadConductivityAverage>
    <RoadTemperture1>1</RoadTemperture1>
    <RoadTemperture10>1</RoadTemperture10>
    <RoadTemperture11>1</RoadTemperture11>
    <RoadTemperture12>1</RoadTemperture12>
    <RoadTemperture2>1</RoadTemperture2>
    <RoadTemperture3>1</RoadTemperture3>
    <RoadTemperture4>1</RoadTemperture4>
    <RoadTemperture5>1</RoadTemperture5>
    <RoadTemperture6>1</RoadTemperture6>
    <RoadTemperture7>1</RoadTemperture7>
    <RoadTemperture8>1</RoadTemperture8>
    <RoadTemperture9>1</RoadTemperture9>
    <RoadTempertureAverage>1</RoadTempertureAverage>
    <Timestamp>2024-11-21T10:09:14.498207+00:00</Timestamp>
    <WindDirection>1</WindDirection>
    <WindSpeed>1</WindSpeed>
  </Measurement>
  <Measurement>
    <AirTemperature>1</AirTemperature>
    <BottomTemperature>1</BottomTemperature>
    <Criteria>sample string 3</Criteria>
    <DewPointTemperature>1</DewPointTemperature>
    <Id>1</Id>
    <MeasuringStation>
      <Id>4</Id>
      <Latitude>2</Latitude>
      <Longitude>3</Longitude>
      <Name>sample string 1</Name>
    </MeasuringStation>
    <PrecipicationAmount>1</PrecipicationAmount>
    <PrecipitationPresence>true</PrecipitationPresence>
    <RelativeHumidity>1</RelativeHumidity>
    <RoadConductivity1>1</RoadConductivity1>
    <RoadConductivity10>1</RoadConductivity10>
    <RoadConductivity11>1</RoadConductivity11>
    <RoadConductivity12>1</RoadConductivity12>
    <RoadConductivity2>1</RoadConductivity2>
    <RoadConductivity3>1</RoadConductivity3>
    <RoadConductivity4>1</RoadConductivity4>
    <RoadConductivity5>1</RoadConductivity5>
    <RoadConductivity6>1</RoadConductivity6>
    <RoadConductivity7>1</RoadConductivity7>
    <RoadConductivity8>1</RoadConductivity8>
    <RoadConductivity9>1</RoadConductivity9>
    <RoadConductivityAverage>1</RoadConductivityAverage>
    <RoadTemperture1>1</RoadTemperture1>
    <RoadTemperture10>1</RoadTemperture10>
    <RoadTemperture11>1</RoadTemperture11>
    <RoadTemperture12>1</RoadTemperture12>
    <RoadTemperture2>1</RoadTemperture2>
    <RoadTemperture3>1</RoadTemperture3>
    <RoadTemperture4>1</RoadTemperture4>
    <RoadTemperture5>1</RoadTemperture5>
    <RoadTemperture6>1</RoadTemperture6>
    <RoadTemperture7>1</RoadTemperture7>
    <RoadTemperture8>1</RoadTemperture8>
    <RoadTemperture9>1</RoadTemperture9>
    <RoadTempertureAverage>1</RoadTempertureAverage>
    <Timestamp>2024-11-21T10:09:14.498207+00:00</Timestamp>
    <WindDirection>1</WindDirection>
    <WindSpeed>1</WindSpeed>
  </Measurement>
</ArrayOfMeasurement>