PATCH sensortypes/{id}/serialnumber/{sn}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

sn

string

Required

Body Parameters

NewZeroReadingBody
NameDescriptionTypeAdditional information
ZeroReading

string

None.

Latitude

string

None.

Longitude

string

None.

LocationID

string

None.

DataLoggerID

string

None.

PiezoTipDepth

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ZeroReading": "sample string 1",
  "Latitude": "sample string 2",
  "Longitude": "sample string 3",
  "LocationID": "sample string 4",
  "DataLoggerID": "sample string 5",
  "PiezoTipDepth": "sample string 6"
}

application/xml, text/xml

Sample:
<NewZeroReadingBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeoHub.Controllers">
  <DataLoggerID>sample string 5</DataLoggerID>
  <Latitude>sample string 2</Latitude>
  <LocationID>sample string 4</LocationID>
  <Longitude>sample string 3</Longitude>
  <PiezoTipDepth>sample string 6</PiezoTipDepth>
  <ZeroReading>sample string 1</ZeroReading>
</NewZeroReadingBody>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>