Skip to content

Query Whether User Can Bind Device

API Address:/v2/binding/enduserapi/getDeviceInfoByBinding

Request Method:GET

Request Data Type:application/x-www-form-urlencoded

Response Data Type:*/*

API Description:Query whether user can bind device

Request Parameters:

Parameter NameParameter DescriptionRequest TypeRequiredData TypeSchema
pkProduct Keyquerytruestring
checkExistInCloudVerify if device exists in cloud, default is truequeryfalseboolean
dkDevice Keyqueryfalsestring
fidFamily IDqueryfalsestring

Response Status:

Status CodeDescriptionSchema
200Successfully queried whether user can bind deviceRegistration code response data«BindingDeviceInfo»
5032Token verification failed
5049Device already bound
5066Please enter Product Key
5106Please enter token
5361Incorrect DK format
5618Please enter family ID
5913No permission to bind
6040Already accepted device sharing

Response Parameters:

Parameter NameParameter DescriptionTypeSchema
codeResponse status codeinteger(int32)integer(int32)
dataResponse dataBindingDeviceInfoBindingDeviceInfo
  activeBluetoothPriority Bluetooth activation switch configuration: true-enabled, false-disabledboolean
  bindingModeBinding mode:
1 Multi-user binding
2 Owner binding
3 Rotation binding
integer(int32)
  productLogoProduct logostring
  productNameProduct namestring
extMsgExtended messagestring
msgResponse messagestring

Response Example:

javascript
{
	"code": 0,
	"data": {
		"activeBluetooth": true,
		"bindingMode": 0,
		"productLogo": "",
		"productName": ""
	},
	"extMsg": "",
	"msg": ""
}