/getBeeSensors

Method description

End point /getBeeSensors
Description Returns the list of all the sensors of a BEE
Request method POST
Bearer token Required

Request

RequestParam
Field name Description Type
id BEE identifier Long
RequestBody None

Response

A JSONArray representation of the sensors associated to a BEE
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