checkDeviceBindOrNot - Query Device Binding Status - Imou Open Platform
checkDeviceBindOrNot: Query device binding
Function details
Query the device binding status, whether it is bound, and whether it is bound by the current account.
Request address
https://openapi-[DataCenter].easy4ip.com/openapi/checkDeviceBindOrNot
The sub-account token can be requested without permission
Incoming parameter description
| Parameter name | Parameter type | Required or not | Default value | Legal value | Parameter description |
|---|---|---|---|---|---|
| token | String | Yes | Administrator or sub-account accessToken | ||
| deviceId | String | Yes | Device serial number |
Sample input
{
"system":{
"ver":"1.0",
"appId":"lcdxxxxxxxxx",
"sign":"fdcfa02a2c9abbe1fe7dd868d0a98539",
"time":1603370290,
"nonce":"90ad5f98-b1c6-4c2c-9514-7eb98bee3e24"
},
"id":"d51dd218-0563-4293-966b-bb1004532143",
"params":{
"deviceId":"TESTQWERXXXX",
"token":"At_00000ad9e6e87f0142eb92e207aec46a"
}
}
Return data field description
| Field name | Field type | Field description | |
|---|---|---|---|
| isBind | Boolean | Whether it is bound to an account, true: it has been bound, false: it has not been bound | |
| isMine | Boolean | Whether it belongs to the current account, true: belongs to the current account, false: does not belong to the current account | |
Sample output
{
"result":{
"msg":"The operation was successful.",
"code":"0",
"data":{
"isBind":true,
"isMine":true
}
},
"id":"d51dd218-0563-4293-966b-bb1004532143"
}
