文档
测试

获取影子文档

POST
北美: https://2ebgs47mr4.execute-api.us-west-2.amazonaws.com/prod/get-thing-shodow ,北京: https://bd77d85l6l.execute-api.cn-north-1.amazonaws.com.cn/v1/get-thing-shodow

请求参数

参数名
类型
描述
必填
token
string
登录token
必填
form_data
array
表单数据
必填
thing_name
string
设备ID#如序列号、IMEI号
必填
device_type
string
设备类型 SR520手表1.0版本#"SR520-10"
必填

响应参数

参数名
类型
描述
必填
code
int
响应码(>=1,业务执行成功,<1业务执行失败)
必填
msg
string
业务消息
必填
data
array
影子文档数据
必填
state
array
状态文档
必填
reported
array
当前值
必填
battery
int
剩余电量百分比
必填
today_step_number
int
今天已走步数
必填
remote_shutdown_state
int
远程关机标志#0-正常状态 1-已执行关机
必填
monitor_number
string
监护号码
必填
sos_number
string
SOS号码
必填
bind_status
int
绑定状态
必填
location_status
int
定位状态#0-定位中 1-定位成功
必填
latitude
double
纬度
必填
longitude
double
经度
必填
location_time
string
定位时间
必填
positioning_frequency
int
定时上传定位信息间隔时间 单位:秒
必填
take_medicine
array
吃药提醒
必填
dt
string
设定的提醒时间
必填
days
array
设定的提醒星期数
必填
repeat
int
1-重复提醒;0-提醒一次
必填
switch
int
1-打开提醒;0-关闭提醒
必填
details
string
药物信息描述
必填
desired
array
期望值
必填