- 设备及系统服务
- area-controller
- 客户与图纸关系
- 客户管理
- 设备型号
- 设备型号-故障代码
- 设备型号-参数
- 设备型号-参数分组(可视化分组)
- 设备类型
- 设备类型-故障代码
- 设备类型-参数
- 文件(知识库)
- 图纸通讯信息配置
- 项目管理
- 项目看板
- 客户化配置
- 默认指标
- 标签接口
- 计量单位
- oss-file-controller
- 参数手册
- 告警服务
- alarm-strategy-controller
- 数据分析服务
- device-error-record-controller
- 用户中心服务
- 售后维保服务
- 设备数据服务
- 消息日志服务
查看
GET
/strategy/alarm-strategy/view
alarm-strategy-controller
请求参数
Query 参数
id
string
id
Header 参数
Authorization
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 '/strategy/alarm-strategy/view?id='
返回响应
🟢200OK
application/json
Body
_embedded
object (AlarmStrategyExtendVO)
可选
configName
string
可选
createBy
string
创建人
createTime
string
创建时间
customerId
string
可选
enable
boolean
可选
eventApp
string
可选
id
string
id
messageConfig
object (MessageConfig对象)
可选
msgConfigCode
string
可选
tenant
string
可选
triggerAdditional
object
可选
triggerDeviceObject
object (TriggerDeviceObject)
可选
triggerExpress
string
触发表达式
triggerFieldId
string
触发指标字段Id
triggerFieldName
string
触发指标字段
triggerObjectId
string
触发指标对象Id
triggerObjectName
string
触发指标对象
triggerObjectType
integer <int32>
可选
triggerTimes
integer <int32>
可选
triggerTimesRange
integer <int32>
可选
updateBy
string
更新人
updateTime
string
更新时间
code
integer <int32>
可选
message
string
可选
timestamp
string
可选
示例
{
"_embedded": {
"configName": "string",
"createBy": "string",
"createTime": "string",
"customerId": "string",
"enable": true,
"eventApp": "string",
"id": "string",
"messageConfig": {
"code": "string",
"enable": true,
"level": 0,
"msgTemplate": "string",
"msgTemplateTitle": "string",
"msgType": 0,
"name": "string",
"preset": true,
"push2All": true,
"push2ExternalUserIds": [
"string"
],
"push2InnerUsers": [
{
"customerId": "string",
"departmentId": "string",
"userId": "string",
"userName": "string"
}
],
"pushAdditional": {
"property1": {},
"property2": {}
},
"pushTimeSetting": "string",
"pushType": [
"string"
],
"tenant": "string"
},
"msgConfigCode": "string",
"tenant": "string",
"triggerAdditional": {
"property1": {},
"property2": {}
},
"triggerDeviceObject": {
"deviceCode": "string",
"deviceTypeId": "string",
"fieldCode": "string",
"productKey": "string",
"simpleFieldCode": "string"
},
"triggerExpress": "string",
"triggerFieldId": "string",
"triggerFieldName": "string",
"triggerObjectId": "string",
"triggerObjectName": "string",
"triggerObjectType": 0,
"triggerTimes": 0,
"triggerTimesRange": 0,
"updateBy": "string",
"updateTime": "string"
},
"code": 0,
"message": "string",
"timestamp": "string"
}
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2022-06-20 08:28:12