文档
测试

吃药提醒

POST
北京:https://46fsfqofwe.execute-api.cn-north-1.amazonaws.com.cn/v1/take-medicine

接口描述

吃药提醒

请求参数

参数名
类型
描述
必填
token
string
登录token
必填
thing_name
string
设备ID#如序列号、IMEI号
必填
device_type
string
设备类型 SR520手表1.0版本#"SR520-10"
必填
group_id
int
群id
必填
data
array
吃药提醒数据
必填
dt
string
设定的提醒时间
必填
days
array
设定的提醒星期数
必填
repeat
int
1-重复提醒;0-提醒一次
必填
switch
int
1-打开提醒;0-关闭提醒
必填
details
string
药物信息描述
必填
key
int
从1开始递增数
必填

响应参数

参数名
类型
描述
必填
code
int
响应码(>=1,业务执行成功,<1业务执行失败)
必填
msg
string
业务消息
必填
dt
string
更新日期
必填