- 物模型分组
- 产品业务
- 产品版本
- 产品属性
- 产品服务
- 产品事件
- 产品基础属性
- 设备相关接口
- 设备相关接口(配网业务专用)
- 设备规约配置
- 设备基础属性
- 设备属性
- 获取边设备属性信息
- 获取设备属性历史值(单个设备的)
- 获取设备属性历史值(多个设备的)
- 获取物模型属性最新值(单个设备的单个属性)
- 获取物模型属性最新值(单个设备的多个属性)
- 获取物模型属性最新值(多个设备的多个属性)
- 获取物模型属性最新值(单个设备的单个属性)--包括属性信息
- 获取物模型属性最新值(单个设备的多个属性)--包括属性信息
- 获取物模型属性最新值(多个设备的多个属性)--包括属性信息
- 获取物模型属性最新值(单个设备的多个属性)--包括属性信息 带分页
- 属性写入(多个属性)
- 属性写入(单个属性)
- 获取台区设备属性值(调试用)
- 统计键值时长
- 查询单个设备多个属性的历史数据聚合
- 查询多个设备多个属性的历史数 据聚合
- 获取物模型属性最新值(多个设备的多个属性)--包括在线信息
- 导出设备属性历史数据
- 设备属性(v2)
- 设备服务
- 设备事件
- 设备操作日志
- 设备驱动
- 枚举相关
- 边缘业务
- emqx
- 登陆相关接口
- API审计日志
- 用户接口
- 组态接口
- 租户接口
- 资源组相关接口
- 统计
- 摄像头告警
- 终端app管理
- 终端app操作历史
- 厂商管理
- 工具接口
- 终端应用管理
- 终端应用操作历史
- 声纹识别
- 设备管理
- 设备应用状态
- 终端状态
- 系统配置
- 通信单元
- 微网接口
- 开发分支接口
- 系统常量
- 设备告警规则
- 告警记录
- 担干岛分支接口
- 设备逻辑属性
- 数采服务
- 设备通道配置
- 图形--南控分支
- 获取上传路径 getUploadUrl
- 确认上传 confirmUpload
- 获取下载路径 getDownloadUrl
- createOrUpdateGraph/ 创建或修改图片graphSource
- getGraphDetails/ 查看某个图片详情 graphSource
- createOrUpdateGraphDevice/ 新增或者更新接线图设备 graphDevice
- getGraphs/ 查询接线图列表
- getGraphCustomList/ 获取接线图svg自定义dom节点列表 graphDevice
- getGraphDeviceList/获取接线图设备列表 graphDevice
- 删除接线图设备
- 删除接线图
- 分页查询接线图列表
- 获取 充电桩、储能、光伏、风电 有功调节值(仅南控分支)
- 配网
- 临时测试
- 设备数据推送平台相关接口
- 甘肃AI辅控相关接口
- 角色接口
- OTA业务
- 规则链文件管理
- AI辅控-场景联动
根据ProductKey查询产品
iot-dev.utapp.cn
https://iot-dev.utapp.cn
iot-dev.utapp.cn
https://iot-dev.utapp.cn
GET
/api/productV2/getProductByProductKey
productV2
请求参数
Query 参数
productKey
string
可选
示例值:
SETTLEPD
Header 参数
Content-Type
string
必需
示例值:
application/json
Authorization-Type
string
必需
默认值:
{{auth}}
X-Authorization
string
必需
默认值:
{{token}}
Body 参数application/json
id
string
产品ID
name
string
产品名称
productKey
string
产品密钥
heartbeat
integer <int64>
心跳间隔
protocolType
string
可选
dataTopology
string
必需
dataTopologyName
string
拓扑名
group
string
组别
description
string
描述
basicProperties
array[object (BaseProperty) {6}]
基本属性
identifier
string
标识
name
string
名称
value
string
值
group
string
分组
dataType
enum<string>
数据类型
枚举值:
LONGDOUBLESTRINGBOOL
unit
string
单位
properties
array[object (DevicePropertyDto) {16}]
物模型属性
identifier
string
属性标识
name
string
属性名
desc
string
属性描述
sort
string
是否排序
valueInfo
object (AbstractValueInfo)
值描述信息
value
object
值
ts
integer <int64>
值的最后更新时间
accessMode
string
属性权限
propertyType
string
属性类型
extension
object
扩展字段
map<sting,object>
store
boolean
是否存储
filter
boolean
是否过滤
filterRule
object (FilterRuleDto)
过滤规则
kind
string
属性分类
groupName
string
分组名称
groupIdentifier
string
分组标识
serves
array[object (DeviceServeDto) {9}]
物模型服务
identifier
string
标识
method
string
可选
pId
string
可选
name
string
服务名
desc
string
服务描述
sort
integer <int32>
是否排序
inputs
array[object (PropertyDto) {7}]
入参
defaultValue
object
可选
map<string,object>类型,入参的默认值
outputs
array[object (PropertyDto) {7}]
出参
events
array[object (DeviceEventDto) {6}]
物模型事件
identifier
string
事件标识
name
string
事件名
desc
string
事件描述
sort
integer <int32>
排序
eventInfos
array[object (PropertyDto) {7}]
入参
values
object
值
currentVersion
string
当前版本号
creationTime
integer
产品创建时间
methodMappings
object
必需
mappingId
string
方法映射标识
name
string
方法名称
mappingType
enum<string>
服务类型
枚举值:
servicepropertyWrite
identifier
string
属性标识
value
string | integer | boolean | array | object | number | null
属性写入的值
serviceId
string
服务名称
param
array [object {5}]
服务参数
desc
string
描述
lastOperTime
string
最后操作时间
operResult
string
操作结果
protocol104Config
object (104产品规约设置)
104产品配置
telemetries
object (遥测结构)
必需
telesignals
object (遥信结构)
必需
telecommands
object (遥控结构)
必需
teleadjustings
object (遥调结构)
必需
fixedValues
object (定值结构)
必需
示例
{
"id": "string",
"name": "string",
"productKey": "string",
"heartbeat": 0,
"protocolType": "string",
"dataTopology": "string",
"dataTopologyName": "string",
"group": "string",
"description": "string",
"basicProperties": [
{
"identifier": "string",
"name": "string",
"value": "string",
"group": "string",
"dataType": "LONG",
"unit": "string"
}
],
"properties": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": "string",
"valueInfo": {
"valueType": "string",
"unit": "string",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "string",
"trueText": "string",
"elements": {},
"elementType": {},
"properties": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": "string",
"valueInfo": {},
"value": {},
"ts": 0
}
]
},
"value": {},
"ts": 0,
"accessMode": "string",
"propertyType": "string",
"extension": {},
"store": true,
"filter": true,
"filterRule": {
"regions": [
{
"left": 0,
"right": 0
}
],
"deadZone": 0,
"ignoreDuplicate": true
},
"kind": "string",
"groupName": "string",
"groupIdentifier": "string"
}
],
"serves": [
{
"identifier": "string",
"method": "string",
"pId": "string",
"name": "string",
"desc": "string",
"sort": 0,
"inputs": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": "string",
"valueInfo": {
"valueType": "string",
"unit": "string",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "string",
"trueText": "string",
"elements": {},
"elementType": {},
"properties": [
{}
]
},
"value": {},
"ts": 0
}
],
"defaultValue": {},
"outputs": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": "string",
"valueInfo": {
"valueType": "string",
"unit": "string",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "string",
"trueText": "string",
"elements": {},
"elementType": {},
"properties": [
{}
]
},
"value": {},
"ts": 0
}
]
}
],
"events": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": 0,
"eventInfos": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": "string",
"valueInfo": {
"valueType": "string",
"unit": "string",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "string",
"trueText": "string",
"elements": {},
"elementType": {},
"properties": [
{}
]
},
"value": {},
"ts": 0
}
],
"values": {}
}
],
"currentVersion": "string",
"creationTime": 0,
"methodMappings": {
"mappingId": "string",
"name": "string",
"mappingType": "service",
"identifier": "string",
"value": "string",
"serviceId": "string",
"param": [
{
"identifier": "string",
"value": "string",
"default": true,
"dataType": "string",
"name": "string"
}
],
"desc": "string",
"lastOperTime": "string",
"operResult": "string"
},
"protocol104Config": {
"telemetries": {
"identifier": "string",
"pointAddr": "string",
"coefficient": "string",
"precision": "string",
"unit": "string",
"description": "string"
},
"telesignals": {
"identifier": "string",
"pointAddr": "string",
"description": "string",
"soe": true
},
"telecommands": {
"identifier": "string",
"pointAddr": "string",
"controlType": "string",
"description": "string"
},
"teleadjustings": {
"identifier": "string",
"pointAddr": "string",
"adjustType": "string",
"unit": "string",
"description": "string"
},
"fixedValues": {
"identifier": "string",
"pointAddr": "string",
"unit": "string",
"description": "string"
}
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://iot-dev.utapp.cn/api/productV2/getProductByProductKey?productKey=SETTLEPD' \
--header 'Authorization-Type;' \
--header 'X-Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"name": "string",
"productKey": "string",
"heartbeat": 0,
"protocolType": "string",
"dataTopology": "string",
"dataTopologyName": "string",
"group": "string",
"description": "string",
"basicProperties": [
{
"identifier": "string",
"name": "string",
"value": "string",
"group": "string",
"dataType": "LONG",
"unit": "string"
}
],
"properties": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": "string",
"valueInfo": {
"valueType": "string",
"unit": "string",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "string",
"trueText": "string",
"elements": {},
"elementType": {},
"properties": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": "string",
"valueInfo": {},
"value": {},
"ts": 0
}
]
},
"value": {},
"ts": 0,
"accessMode": "string",
"propertyType": "string",
"extension": {},
"store": true,
"filter": true,
"filterRule": {
"regions": [
{
"left": 0,
"right": 0
}
],
"deadZone": 0,
"ignoreDuplicate": true
},
"kind": "string",
"groupName": "string",
"groupIdentifier": "string"
}
],
"serves": [
{
"identifier": "string",
"method": "string",
"pId": "string",
"name": "string",
"desc": "string",
"sort": 0,
"inputs": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": "string",
"valueInfo": {
"valueType": "string",
"unit": "string",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "string",
"trueText": "string",
"elements": {},
"elementType": {},
"properties": [
{}
]
},
"value": {},
"ts": 0
}
],
"defaultValue": {},
"outputs": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": "string",
"valueInfo": {
"valueType": "string",
"unit": "string",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "string",
"trueText": "string",
"elements": {},
"elementType": {},
"properties": [
{}
]
},
"value": {},
"ts": 0
}
]
}
],
"events": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": 0,
"eventInfos": [
{
"identifier": "string",
"name": "string",
"desc": "string",
"sort": "string",
"valueInfo": {
"valueType": "string",
"unit": "string",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "string",
"trueText": "string",
"elements": {},
"elementType": {},
"properties": [
{}
]
},
"value": {},
"ts": 0
}
],
"values": {}
}
],
"currentVersion": "string",
"creationTime": 0,
"methodMappings": {
"mappingId": "string",
"name": "string",
"mappingType": "service",
"identifier": "string",
"value": "string",
"serviceId": "string",
"param": [
{
"identifier": "string",
"value": "string",
"default": true,
"dataType": "string",
"name": "string"
}
],
"desc": "string",
"lastOperTime": "string",
"operResult": "string"
},
"protocol104Config": {
"telemetries": {
"identifier": "string",
"pointAddr": "string",
"coefficient": "string",
"precision": "string",
"unit": "string",
"description": "string"
},
"telesignals": {
"identifier": "string",
"pointAddr": "string",
"description": "string",
"soe": true
},
"telecommands": {
"identifier": "string",
"pointAddr": "string",
"controlType": "string",
"description": "string"
},
"teleadjustings": {
"identifier": "string",
"pointAddr": "string",
"adjustType": "string",
"unit": "string",
"description": "string"
},
"fixedValues": {
"identifier": "string",
"pointAddr": "string",
"unit": "string",
"description": "string"
}
}
}'
返回响应
🟢200成功
application/json
Body
id
string
产品ID
name
string
产品名称
productKey
string
产品密钥
heartbeat
integer <int64>
心跳间隔
protocolType
string
可选
dataTopology
string
必需
dataTopologyName
string
拓扑名
group
string
组别
description
string
描述
basicProperties
array[object (BaseProperty) {6}]
基本属性
identifier
string
标识
name
string
名称
value
string
值
group
string
分组
dataType
enum<string>
数据类型
枚举值:
LONGDOUBLESTRINGBOOL
unit
string
单位
properties
array[object (DevicePropertyDto) {16}]
物模型属性
identifier
string
属性标识
name
string
属性名
desc
string
属性描述
sort
string
是否排序
valueInfo
object (AbstractValueInfo)
值描述信息
value
object
值
ts
integer <int64>
值的最后更新时间
accessMode
string
属性权限
propertyType
string
属性类型
extension
object
扩展字段
map<sting,object>
store
boolean
是否存储
filter
boolean
是否过滤
filterRule
object (FilterRuleDto)
过滤规则
kind
string
属性分类
groupName
string
分组名称
groupIdentifier
string
分组标识
serves
array[object (DeviceServeDto) {9}]
物模型服务
identifier
string
标识
method
string
可选
pId
string
可选
name
string
服务名
desc
string
服务描述
sort
integer <int32>
是否排序
inputs
array[object (PropertyDto) {7}]
入参
defaultValue
object
可选
map<string,object>类型,入参的默认值
outputs
array[object (PropertyDto) {7}]
出参
events
array[object