- 登录
- 产品管理
- 物消息
- 设备接入信息查询POST
- 产品管理-列表POST
- 产品新增POST
- 物模型发布GET
- 禁用产品 批量启用POST
- 已发布产品 批量禁用POST
- 批量删除POST
- 查询产品分类树GET
- 查询该产品 产品信息POST
- 查询该产品 产品信息大类POST
- 批量更新产品信息POST
- 物模型移除GET
- 查询物模型GET
- 批量删除物模型属性POST
- 查询物模型缓存GET
- 物模型属性新增POST
- 命令新增POST
- 属性更新POST
- 导入物模型POST
- 重置产品秘钥POST
- 查询物模型版本POST
- 新增产品大类POST
- 保存属性POST
- 删除物模型命令GET
- 命令更新POST
- 查询该分类下是否有产品GET
- 新增分类POST
- 删除分类GET
- 查询产品列表不分页POST
- 批量失效POST
- 设备管理
- OpenApi
- 协议验证
- 物业云
- 中台3.0
- 随意接口
设备绑定
开发中
POST
/manager/device/deviceBind
请求参数
Authorization
在 header 添加参数
Authorization
示例:
Authorization: ********************
Body 参数application/json
description
string
设备名称
device_sn
string
设备sn
product_id
string
产品id
project_id
string
项目id
示例
{
"description": "1栋01单元0101房室内机",
"device_sn": "AG780250102T",
"product_id": "611caabe5941080286b10c31",
"project_id": "1000006967",
"project_name":"米立IoT测试旧通行权限项目"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://10.110.17.16:53000/manager/device/deviceBind' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw '{
"description": "1栋01单元0101房室内机",
"device_sn": "AG780250102T",
"product_id": "611caabe5941080286b10c31",
"project_id": "1000006967",
"project_name":"米立IoT测试旧通行权限项目"
}'
返回响应
🟢200成功
application/json
Body
timestamp
string
时间戳
status
integer
状态
message
string
处理结果信息
data
object
处理返回数据
device_id
string
设备id
product_id
string
产品id
device_sn
string
设备sn
description
string
设备中文名
status
integer
设备状态
create_time
string
创建时间
tenant_id
string
租户id
project_id
string
项目id
project_name
string
项目名
device_type
integer
设备类型
is_ext_unbind
boolean
是否业务侧解绑
示例
{
"timestamp": "2025-05-12 11:45:56",
"status": 200,
"message": "请求处理成功!",
"data": {
"device_id": "4268ea2fdc357bbc7ae5b6dae4c2f511_SLF8852517151",
"product_id": "4268ea2fdc357bbc7ae5b6dae4c2f511",
"device_sn": "SLF8852517151",
"device_secret": "278977cdb85fd8f7",
"description": "设备名称",
"auth_method": 1,
"status": 0,
"create_time": "2025-05-12 11:45:56",
"tenant_id": "5030",
"project_id": "1386432AF2",
"device_type": 1,
"is_invalid": false
}
}
修改于 2025-06-12 06:21:22