文档
测试
彭国强

获取血糖记录-医护(2022-9-27)

GET
http://localhost/bloodSugarMonitorData/doc/records?phone=18779798214&token=cc60a59285df8b5b421cb7bfda4e02a3&hours=3&userId=4209

接口描述

9-27 :增加血糖备注 bgNotes, 备注状态noteState 0 没有任何备注,1 饮食备注,2 运动备注,3 用药备注。11-10 增加上下界 targetLowValue targetHighValue

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
phone
int
示例:18779798214
必填
token
string
示例:cc60a59285df8b5b421cb7bfda4e02a3
必填
hours
int
示例:3
必填
userId
int
示例:4209
必填

响应参数

参数名
类型
描述
必填
content
object
数据字典
必填
bloodSugarRecords
object
数据字典
必填
maxBloodSugar
int
示例:8 最高血糖
必填
maxFluctuation
int
示例:3 最大血糖波动
必填
maxValueTime
string
示例:08-18 08:04 最大血糖时间
必填
minBloodSugar
int
示例:5 最小血糖
必填
minValueTime
string
示例:08-18 06:24 最小血糖时间
必填
records
array
数据列表
必填
state
int
示例:1 报警状态,1:正常;2:传感器异常;3:温度 过高;4:温度过低;5:血糖过高;6:血糖过 低 7 t long 是 / unix 时
必填
time
string
示例:06:19
必填
trend
int
示例:0 血糖趋势,0:平稳;1:缓慢上升;-1:缓慢 下降;2:较快上升;-2:较快下降
必填
value
float
示例:5.2
必填
bgNotes
object
必填
dietNotes
string
必填
sportNotes
string
必填
medicationNotes
string
必填
noteState
int
0
必填
targetLowValue
下界
必填
targetHighValue
上界
必填
latestData
float
示例:7.2 最新记录
必填
msg
string
示例:获取血糖数据成功
必填
state
int
示例:1
必填