/getSensorDetails

Method description

End point /getSensorDetails
Description Returns detailed information about a Sensor
Request method POST
Bearer token Required

Request

RequestParam
Field name Description Type
id Sensor identifier Long
RequestBody None

Response

A JSONObject representation of the sensor
Example
{
"id":44,
"label": "Living room",
"lastUpdate": 119087650,
"beeName": "Living room",
"beeID": 7,
"prototypeID": 2,
"prototypeName": "Name of the sensor"
}
Fields
Field name Description Type
id Sensor identifier Long
label Sensor label String
lastUpdate Time of the last update message received from this sensor Long
prototypeID Identifier of the sensor prototype Long
prototypeName prototype name String
beeID Identifier of the BEE associated with this sensor Long
beeName Name of the BEE associated with this sensor String