GET api/Sensor

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SensorModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Manufacturer

string

None.

Model

string

None.

DateCreated

date

Data type: Date

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "18f80fae-234c-436b-8d1d-0eef3072a9bd",
    "Manufacturer": "sample string 2",
    "Model": "sample string 3",
    "DateCreated": "2025-01-22T20:47:42.35376+01:00"
  },
  {
    "Id": "18f80fae-234c-436b-8d1d-0eef3072a9bd",
    "Manufacturer": "sample string 2",
    "Model": "sample string 3",
    "DateCreated": "2025-01-22T20:47:42.35376+01:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSensorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WaterLab.Models">
  <SensorModel>
    <DateCreated>2025-01-22T20:47:42.35376+01:00</DateCreated>
    <Id>18f80fae-234c-436b-8d1d-0eef3072a9bd</Id>
    <Manufacturer>sample string 2</Manufacturer>
    <Model>sample string 3</Model>
  </SensorModel>
  <SensorModel>
    <DateCreated>2025-01-22T20:47:42.35376+01:00</DateCreated>
    <Id>18f80fae-234c-436b-8d1d-0eef3072a9bd</Id>
    <Manufacturer>sample string 2</Manufacturer>
    <Model>sample string 3</Model>
  </SensorModel>
</ArrayOfSensorModel>