PUT api/Sensor/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

SensorModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Manufacturer

string

None.

Model

string

None.

DateCreated

date

Data type: Date

Request Formats

application/json, text/json

Sample:
{
  "Id": "4bdca964-f689-4bdc-9489-01d01949df38",
  "Manufacturer": "sample string 2",
  "Model": "sample string 3",
  "DateCreated": "2025-01-22T20:52:50.607656+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:52:50.607656+01:00</DateCreated>
  <Id>4bdca964-f689-4bdc-9489-01d01949df38</Id>
  <Manufacturer>sample string 2</Manufacturer>
  <Model>sample string 3</Model>
</SensorModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.