文档
测试

获取规则详情

POST
{{url}}/rule/getDetail

请求参数

参数名
类型
描述
必填
ruleId
int
示例:4
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:请求成功
必填
code
int
示例:200
必填
data
object
数据字典
必填
ruleId
int
id
必填
ruleName
string
示例:测试电表规则
必填
deviceType
int
设备类型 1 电表 2水表 3摄像头 4 点型光电感烟火灾探测 5火灾自动报警 6手报 7智慧用电安全系统 8 消防水检测系统
必填
noticeType
int
1短信 2电话
必填
voltage
int
限制电压
必填
power
object
限制功率
必填
electric
object
限制电流
必填
createTime
string
示例:2022-11-10 20:44:37
必填
updateTime
object
示例:null
必填
enable
object
1启用2禁用
必填
noticePeople
array
数据列表
必填
noticePeopleId
int
id
必填
noticePeople
string
人员民称
必填
noticePhone
string
通知电话
必填
createTime
string
示例:2022-11-10 20:44:37
必填
updateTime
object
示例:null
必填
ruleId
int
关联规则id
必填