Get started
  • English
  • 简体中文
Official Site
Get started
  • English
  • 简体中文
Official Site
  • Get started
  • Concepts
  • Guides
  • Device capabilities & events
  • API reference
    • Public conventions
    • Development specification
    • accessToken: Get administrator token
    • API request example
    • Return codes
    • Interface call limits
    • Account docking
    • Device APIs
    • Device live broadcast
    • Push configuration
    • Cloud storage service
    • Resource pool quota
    • Legacy APIs (deprecated)
      • Door lock access (legacy)
      • Device messages (legacy)
      • Device query (deprecated)
        • checkDeviceBindOrNot
        • deviceOnline
        • listDeviceDetailsByIds
        • listDeviceDetailsByPage
        • unBindDeviceInfo
        • upgradeProcessDevice
        • bindDeviceChannelInfo
        • bindDeviceInfo
        • bindDeviceList
        • deviceBaseDetailList
        • deviceBaseList
        • deviceList
        • deviceOpenDetailList
        • deviceOpenList
        • deviceVersionList
        • listDeviceAbility
        • queryBaseDeviceChannelInfo
        • queryOpenDeviceChannelInfo
        • shareDeviceList
      • Device maintenance (legacy)
      • Device operation (legacy)
      • Device ability (legacy)
      • Motion detection config (legacy)
      • Preset collection (legacy)
      • Timed cruise (legacy)
      • Local recording config (legacy)
      • Audio volume (legacy)
      • Storage (legacy)
      • Video and imaging (legacy)
      • Time zone (legacy)
      • Wi-Fi (legacy)
      • Local recording query (legacy)
  • SDK and tools
  • Solutions
  • Platform and support
On this page
Function details
Request address
Request format
The sub-account token can be requested without permission
Incoming parameter description
Sample input
Return data field description
Sample output
Error codes
Related

unBindDeviceInfo (UnBindDeviceInfo - Unbound Device Information Acquisition - Imou Open Platform)

unBindDeviceInfo: UnBindDeviceInfo - Unbound Device Information Acquisition - Imou Open Platform

Deprecated: Use Pre-bind information (device.prebind.get). This legacy HTTP page is retained for existing integrations.

Function details

Query the unbound device information.

Request address

https://openapi-[DataCenter].easy4ip.com/openapi/unBindDeviceInfo

Request format

HTTP POST. JSON body layout: Request conventions. Sign with Signature.

The sub-account token can be requested without permission

Incoming parameter description

Parameter nameParameter typeRequired or notDefault valueLegal valueParameter description
tokenStringYesAdministrator or sub-account accessToken
deviceIdStringYesDevice serial number
productIdStringNomodel device product ID, which can be obtained by scanning the device QR code
deviceCodeModelStringNoThe device QR code model, which can be obtained by scanning the device QR code
deviceModelNameStringNoDevice market model
ncCodeStringNoEquipment network configuration capability, can be obtained by scanning the equipment QR code

Sample input

{
 "id": "115d93268c8c4325920be6c9d3f5e855",
 "system": {
 "ver": "1.0",
 "sign": "xjhCQBoJ9hRDsCjyDcHjtDNzRZ3ZJezcawsfWeiaoxU=",
 "appId": "lcdxxxxxxxxx",
 "time": 1404443389,
 "nonce": "169431af9750408da8aeeb7d07f93c4e"
 },
 "params": {
 "token": "At_12345678901234567890123456789012",
 "deviceId": "TESTQWERXXXX",
 "deviceCodeModel": "TP1",
 "deviceModelName": "TP1-Popular Edition",
 "ncCode": "64"
 }
}

Return data field description

Field nameField typeField description
supportBooleanDoes the platform support the device: true: support, false: not support
productIdStringmodel device product ID
deviceExistStringDoes the device exist on the platform: "exist": exists, "notExist": does not exist
statusStringDevice status: online, offline, upgrading, sleep (hibernation)
bindStatusStringDevice binding status: unbind: device is not bound
wifiConfigModeStringPairing modes supported by the device: SmartConfig, SoundWave, SoftAP, LAN, SIMCard, QRCode, SoundWaveV2, NBIOT, Bluetooth accessories do not return
wifiConfigModeOptionalBooleanDoes the device support user-selected and available network configuration methods: true: support optional, false: not support optional
wifiTransferModeStringThe sequence of the device's wireless support frequency band: 2.4Ghz, 5Ghz
deviceCodeModelStringDevice reported model
deviceModelNameStringDevice market model
catalogStringEquipment categories: NVR/DVR/HCVR/IPC/SD/IHG/ARC
abilityStringEquipment ability set
typeStringHardware type: device:device ap:accessory

Sample output

{
 "id": "115d93268c8c4325920be6c9d3f5e855",
 "result": {
 "data": {
 "support": true,
 "deviceExist": "exist",
 "status": "online",
 "bindStatus": "unbind",
 "wifiConfigMode": "SoundWave",
 "wifiConfigModeOptional": false,
 "wifiTransferMode": "2.4Ghz",
 "deviceCodeModel": "TP1",
 "deviceModelName": "TP1-Popular Edition",
 "catalog": "IPC",
 "ability": "WLAN,PT",
 "type": "device"
 },
 "code": "0",
 "msg": " Operation is successful."
 }
}

Error codes

This method may return the codes below. See Return codes and Capability errors for the full catalog.

Gateway and auth (SN / TK / OP)

CodeMeaningNext step
SN1001Signature errorCheck sign per Development specification
TK1002Token invalid or expiredRefresh accessToken
OP1002Missing required parameterAdd required fields
OP1003Invalid parameterMatch this page’s parameter table
OP1009Permission deniedCheck token and device bind/share grants
OP1013Total call limit exceededReduce call rate
OP1014Daily per-interface limit exceededSee Interface call limits
DV1007Device offlineWait until the device is online

See Return codes · OP/SN/TK for the full catalog.

Sub-accounts (SUB)

CodeMeaningNext step
SUB1001–SUB1002Sub-account lacks API permissionUpdate policy via addPolicy
SUB1005Sub-account token expiredRefresh subAccountToken
SUB1006No device grant for sub-accountCheck Resource and device serial
SUB1008Sub-account not bound to appCreate and bind the sub-account first

See Return codes · SUB.

Device binding (DV10xx)

CodeMeaningNext step
DV1001Bound to another accountUnbind or use another device
DV1002Device does not existVerify serial number
DV1003Already bound to current accountNo need to bind again
DV1005Verification code errorCheck device label code
DV1008Bind count limit exceededUnbind extra devices
DV1011Device not boundBind first
DV1029Device already boundDo not bind again

See Return codes · DV.

Related

  • Development specification
  • API conventions
  • Pre-bind information
  • Module index
listDeviceDetailsByPage
upgradeProcessDevice