deviceDataByDeviceIds
POST
/v2/openapi/device/shadow/deviceIdsRequest
Body Params application/json
deviceIds
string | null
required
Multiple devices should be separated by a comma
Example
{
"deviceIds": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer | null
optional
data
array[object (ApiDeviceShadowVO) {2}] | null
optional
deviceData
object (ApiDeviceDataVO)
optional
device Properties
expand
object (ApiDeviceExpandVO)
optional
extended attribute
msg
string | null
optional
Example
{
"code": 0,
"data": [
{
"deviceData": {
"deviceName": "",
"deviceId": "",
"deviceTime": "",
"address": "",
"speed": 0,
"course": 0,
"acc": 0,
"lat": 0,
"lon": 0,
"num": 0,
"signal": 0,
"quantity": 0,
"voltage": 0,
"elec": 0,
"type": 0,
"voltageLevel": 0,
"rssi": 0,
"disarmingStatus": 0,
"chargeStatus": 0,
"blockedStatus": 0
},
"expand": {
"status": false,
"activeTime": "",
"reportTime": ""
}
}
],
"msg": ""
}
Last modified: 2 个月前