GET api/Sensor/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SensorModelName | Description | Type | Additional 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": "06b26c40-2ffb-4ea6-8439-6edf43f01f0b", "Manufacturer": "sample string 2", "Model": "sample string 3", "DateCreated": "2025-01-22T20:55:54.5113453+01:00" }
application/xml, text/xml
Sample:
<SensorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WaterLab.Models"> <DateCreated>2025-01-22T20:55:54.5113453+01:00</DateCreated> <Id>06b26c40-2ffb-4ea6-8439-6edf43f01f0b</Id> <Manufacturer>sample string 2</Manufacturer> <Model>sample string 3</Model> </SensorModel>