- README
- Update Record
- token
- customer
- device
- fence
- push
- video
- alarm
- audio
- gallery
- fleet
- gps
- Protocol AnalysisPOST
deviceDataByDeviceIds
Singapore
Singapore
POST
/v2/openapi/device/shadow/deviceIds
Request
Header Params
Authorization
string
required
Body Params application/json
deviceIds
string | null
required
Example
{
"deviceIds": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mettahub.mettaxiot.com/gps/v2/openapi/device/shadow/deviceIds' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceIds": "string"
}'
Responses
🟢200Success
application/json
Body
code
integer | null
optional
data
array[object (ApiDeviceShadowVO) {2}] | null
optional
deviceData
object (ApiDeviceDataVO)
optional
expand
object (ApiDeviceExpandVO)
optional
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": ""
}
Modified at 2024-11-27 03:17:54