获取设备详情
POST
https://qyapi.weixin.qq.com/cgi-bin/openhw/device/get_device_detail
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/openhw/device/get_device_detail'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"device_detail": {
"model_name": "device_model",
"default_name": "默认名",
"qr_code": "https://open.work.weixin.qq.com/connect/hardware?hw_code=lS5***********",
"bind_status": 1,
"auth_corp_info": {
"open_corpid": "wpTD_dsdfsdfsdfsdfs1w",
"corp_name": "测试企业"
},
"remark_name": "小区大门"
}
}
请求参数
Query 参数
model_access_token
string
可选
示例值:
MODEL_ACCESS_TOKEN
返回响应
修改于 2022-12-08 06:18:37