文档
测试

获取设备预警列表

POST
GetMemberDeviceWarningList

接口描述

获取设备预警列表接口

请求参数

参数名
类型
描述
必填
dataJson
object
数据参数
必填
member_id
number
会员ID 示例:100000
必填
client_key
string
密钥 示例:A5D22FF169993B30EFD2F2AE2A1875B572AA1835D2DBA51C588E601FA684CF4C
必填
device_id
number
设备ID
必填
index
number
页码 默认1
必填
size
number
每页数量 默认20
必填
language
string
语言 zh-CN中文(默认) en-US英文 ko-KR韩语 th-TH泰语 ja-JP日语 ,注非必填默认中文
可选

响应参数

参数名
类型
描述
必填
data
object
数据字典
必填
list
array
数据列表
必填
id
int
id 示例:1
必填
warning_type
int
预警类型 示例:1
必填
warning_type_name
string
预警类型名称 示例:离床预警
必填
device_id
int
设备ID 示例:2
必填
value
int
值 示例:30
必填
unit
string
值的单位 示例:分钟
必填
ns
string
序例号 示例:332015820486
必填
date_time
string
日期时间 示例:09月02分 10:10
必填
time_stamp
number
时间截
必填
subtitle
string
副标题
必填
total
int
示例:15
必填
ret
int
示例:0
必填
err_code
int
示例:0
必填
msg
string
示例:ok
必填

说明 / 示例

## 接口地址 https://xxxx.com/WebServiceForDoctor.asmx ## 成功返回示例 新 ```language {"data":{"list":[{"id":1,"warning_type":1,"warning_type_name":"离床预警","device_id":2,"value":30,"unit":"分钟","ns":"332015820486","date_time":"09月02分 10:10","time_stamp":0},{"id":2,"warning_type":1,"warning_type_name":"离床预警","device_id":2,"value":30,"unit":"分钟","ns":"332015820486","date_time":"09月02分 09:25","time_stamp":0},{"id":3,"warning_type":1,"warning_type_name":"离床预警","device_id":2,"value":30,"unit":"分钟","ns":"332015820486","date_time":"09月02分 08:40","time_stamp":0},{"id":4,"warning_type":1,"warning_type_name":"离床预警","device_id":2,"value":30,"unit":"分钟","ns":"332015820486","date_time":"09月02分 07:55","time_stamp":0},{"id":5,"warning_type":1,"warning_type_name":"离床预警","device_id":2,"value":30,"unit":"分钟","ns":"332015820486","date_time":"09月02分 07:10","time_stamp":0},{"id":6,"warning_type":1,"warning_type_name":"离床预警","device_id":2,"value":30,"unit":"分钟","ns":"332015820486","date_time":"09月02分 06:25","time_stamp":0},{"id":7,"warning_type":1,"warning_type_name":"离床预警","device_id":2,"value":30,"unit":"分钟","ns":"332015820486","date_time":"09月02分 05:40","time_stamp":0},{"id":8,"warning_type":1,"warning_type_name":"离床预警","device_id":2,"value":30,"unit":"分钟","ns":"332015820486","date_time":"09月02分 04:55","time_stamp":0},{"id":9,"warning_type":1,"warning_type_name":"离床预警","device_id":2,"value":30,"unit":"分钟","ns":"332015820486","date_time":"09月02分 04:10","time_stamp":0},{"id":10,"warning_type":1,"warning_type_name":"离床预警","device_id":2,"value":30,"unit":"分钟","ns":"332015820486","date_time":"09月02分 03:25","time_stamp":0}],"total":15},"ret":0,"err_code":0,"msg":"ok"} ``` >i 注:ret = 0 为成功 ## 失败返回示例 ```language { "ret": 4, "msg": "参数不能为空", "err_code": 10008 } ``` >d 注:ret > 0 为失败 ## 错误编号(errCode):

响应参数-新

参数名
类型
描述
必填
ret
number
示例:0
必填
err_code
number
示例:0
必填
msg
string
示例:ok
必填
data
object
数据字典
必填
id
number
示例:10003
必填
name
string
示例:七分裤
必填
comment_count
number
示例:0
必填
sale_count
number
示例:0
必填
subtitle
string
示例:甚至三厢一非顶不可在末枯要
必填
service_list
array
数据列表
必填
name
string
示例:7天包退
必填
content
string
示例:7天包退7天包退
必填
attributes
array
数据列表
必填
name
string
示例:一箱
必填
content
string
示例:24包
必填
album
array
数据列表
必填
url
string
示例:http://localhost:6020/Upload/Product/10003/product_1572417096.mp4
必填
poster
string
示例:http://localhost:6020/Upload/Product/10003/product_1570728088.jpg
必填
type
number
示例:2
必填
pic_info
array
数据列表
必填
url
string
示例:http://localhost:6020/Upload/Product/10003/product_1570728095.jpg
必填
poster
string
示例:
必填
type
number
示例:1
必填
product
object
数据字典
必填
index
number
示例:0
必填
price
number
示例:100
必填
market_price
number
示例:120
必填
stock
number
示例:0
必填
specs_list
array
数据列表
必填
goods_activities
array
数据列表
必填
tj_titel
string
示例:
必填
tj_content
string
示例:
必填