文档
测试

语音预警通知

POST
VoiceAlertNotification

接口描述

语音预警通知

请求参数

参数名
类型
描述
必填
dataJson
object
数据参数 添加
必填
key
string
秘钥:29c0b6ed48d52c76122cc003fd79383c
必填
phone
string
手机号
必填
notification_type
int
通知类型 1呼吸异常、2心率异常、3离床
必填
notification_time
string
通知时间 可为空,空为当前时间,会用到时间的 时和分
可选

响应参数

参数名
类型
描述
必填
ret
number
示例:0
必填
err_code
number
示例:0
必填
msg
string
示例:ok
必填

说明 / 示例

## 接口地址 ## 成功返回示例 ```language { "ret": 0, "err_code": 0, "msg": "ok" } ``` >i 注:ret = 0 为成功 ## 失败返回示例 ```language { "ret": 4, "msg": "参数不能为空", "err_code": 10008 } ``` >d 注:ret > 0 为失败 ## 错误编号(errCode): 6 have no permission 9 解析Json出错 53 发送语音通知失败 10008 参数不能为空 10016 Key错误 10017 手机号错误 10018 语音通知类型错误