- 登录
- 产品管理
- 物消息
- 设备接入信息查询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/product/create
请求参数
Authorization
在 header 添加参数
Authorization
示例:
Authorization: ********************
Body 参数application/json
object {0}
示例
{
"protocol_type": 1,
"manufacturer": "冠林",
"is_customize": true,
"classified_id": "1902885970784989185",
"capability": "",
"protocol_id": "53001",
"check_type": 0,
"name": "秘钥测试",
"product_code": "",
"product_secret": "abababababababab",
"device_type": 1
}
示例代码
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/product/create' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw '{
"protocol_type": 1,
"manufacturer": "冠林",
"is_customize": true,
"classified_id": "1902885970784989185",
"capability": "",
"protocol_id": "53001",
"check_type": 0,
"name": "秘钥测试",
"product_code": "",
"product_secret": "abababababababab",
"device_type": 1
}'
返回响应
🟢200成功
application/json
Body
timestamp
string
必需
status
integer
必需
message
string
必需
data
object
必需
product_id
string
必需
name
string
必需
classified_id
string
必需
device_type
integer
必需
protocol_type
integer
必需
protocol_id
string
必需
auth_method
integer
必需
check_type
integer
必需
product_secret
string
必需
status
integer
必需
create_time
string
必需
update_time
string
必需
tenant_id
string
必需
product_code
string
必需
manufacturer
string
必需
is_customize
boolean
必需
capability
string
必需
channel
string
必需
示例
{
"timestamp": "string",
"status": 0,
"message": "string",
"data": {
"product_id": "string",
"name": "string",
"classified_id": "string",
"device_type": 0,
"protocol_type": 0,
"protocol_id": "string",
"auth_method": 0,
"check_type": 0,
"product_secret": "string",
"status": 0,
"create_time": "string",
"update_time": "string",
"tenant_id": "string",
"product_code": "string",
"manufacturer": "string",
"is_customize": true,
"capability": "string",
"channel": "string"
}
}
修改于 2025-06-05 08:18:14