简要描述:

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2021-03-09

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 授权凭证

请求参数:

参数名 是否必须 类型 说明
device_id string 设备id

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "ad_exposure_num": "0",
        "running_time": 122,
        "service_call_num": 23,
        "element_data_rate": "51%",
        "element_data_hour": 128,
        "element_data_clear": [
            0,
            0,
            2,
            1
        ],
        "cloth_data_rate": "39%",
        "cloth_data_hour": 78,
        "cloth_data_clear": [
            0,
            0,
            2,
            2
        ],
        "part_status":{
            "filter_element":true,
            "filter_cloth":true,
            "filter_screen":true
        }
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "key错误"
}

返回参数说明:

参数名 类型 说明
ad_exposure_num int 设备广告曝光数
running_time int 运行时间
service_call_num int 服务呼叫次数
element_data_rate string 滤芯可用百分比
element_data_hour int 滤芯可用时间 h
element_data_clear array 滤芯清洗数组【0=待清洗,1=已清洗,2=未清洗】
cloth_data_rate string 滤布可用百分比
cloth_data_hour int 滤布可用时间 h
cloth_data_clear array 滤布清洗数组【0=待清洗,1=已清洗,2=未清洗】
screen_data_hour int 滤网清洗时间 h
part_status.filter_element string 滤芯显示状态【true=显示,false=隐藏】
part_status.filter_cloth string 滤布显示状态【true=显示,false=隐藏】
part_status.filter_screen string 滤网显示状态【true=显示,false=隐藏】

备注:

文档更新时间: 2021-06-17 14:54   作者:admin