GET api/TemperatureObservations

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TemperatureObservation
NameDescriptionTypeAdditional information
RecordId

integer

None.

DateAndTime

date

None.

Temperature

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RecordId": 1,
    "DateAndTime": "2020-01-24T04:48:13.8090261+00:00",
    "Temperature": 3.1
  },
  {
    "RecordId": 1,
    "DateAndTime": "2020-01-24T04:48:13.8090261+00:00",
    "Temperature": 3.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfTemperatureObservation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <TemperatureObservation>
    <DateAndTime>2020-01-24T04:48:13.8090261+00:00</DateAndTime>
    <RecordId>1</RecordId>
    <Temperature>3.1</Temperature>
  </TemperatureObservation>
  <TemperatureObservation>
    <DateAndTime>2020-01-24T04:48:13.8090261+00:00</DateAndTime>
    <RecordId>1</RecordId>
    <Temperature>3.1</Temperature>
  </TemperatureObservation>
</ArrayOfTemperatureObservation>