待打印任务队列获取


接口及参数

请求方式 GET/POST
服务地址 https://open.sw-aiot.com/api/message/waitingMsg/{devid}
Content-Type application/json
Header token=d1d9d0b2992c99e56d9462607383c50f
参数字段 字段描述 类型 必须
devid 机器码 String

示例:

返回参数

Content-Type application/json
返回参数字段 字段描述 类型
code 应答码:200成功,非200则失败 int
message 应答信息,应答码对应的描述 String
success 请求成功标志 Boolean
data 任务列表(数组) Json
    id 任务id编号 long
    devid 机器码 String
    reqid 消息id,客户传入的消息唯一编号 String
    type 消息类型 int
    message 打印任务内容 String
    timeout 任务过期时间 time
    time 任务推送时间 time

示例: