GET api/TemperatureObservations/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

TemperatureObservation
NameDescriptionTypeAdditional information
RecordId

integer

None.

DateAndTime

date

None.

Temperature

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "DateAndTime": "2020-03-21T14:39:20.9523266+00:00",
  "Temperature": 3.1
}

application/xml, text/xml

Sample:
<TemperatureObservation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <DateAndTime>2020-03-21T14:39:20.9523266+00:00</DateAndTime>
  <RecordId>1</RecordId>
  <Temperature>3.1</Temperature>
</TemperatureObservation>