描述:
协议名称 | 协议URL |
---|---|
获取任务执行详情列表条数 | http://i.luobeitech.com/v3/taskSub/getTaskSubListSize |
输入参数:
{
"accKey": "XXXXXXXXXXXXXXX",
"beginTime": "2018-01-01",
"devName": "手机1",
"endTime": "2018-01-30",
"statusType": 5,
"taskId": 0,
"taskName": "任务名称",
"token": "XXXXXXXXXXXXXXX"
}
参数含义:
"accKey": "密钥",
"beginTime": "开始时间",(非必填)
"devName": "设备昵称",(非必填)
"endTime": "结束时间",(非必填)
"statusType": 设备执行状态(0:未工作 1:已下发 2:未执行 3 执行中 4已执行 5成功 6 失败 7 停止 8 准备数据中 9:下发中),(不填,默认值写-1)
"taskId": 任务ID,(不填,默认值写0)
"taskName": "任务名称",(非必填)
"token": "token"
参数类型:
application/json
返回参数:
{
"code": 0,
"reason": "操作成功",
"payload": 2
}
参数含义:
"code": 返回值,
"reason": "返回值原因",
"payload": 条数
参数类型:
application/json
描述:
协议名称 | 协议URL |
---|---|
获取任务执行详情列表 | http://i.luobeitech.com/v3/taskSub/getTaskSubList |
输入参数:
{
"accKey": "XXXXXXXXXXXXXXX",
"beginTime": "2018-01-01",
"devName": "手机1",
"endTime": "2018-01-30",
"statusType": 5,
"taskId": 0,
"taskName": "任务名称",
"token": "XXXXXXXXXXXXXXX",
"page": 1,
"pageSize": 10
}
参数含义:
"accKey": "密钥",
"beginTime": "开始时间",(非必填)
"devName": "设备昵称",(非必填)
"endTime": "结束时间",(非必填)
"statusType": 设备执行状态(0:未工作 1:已下发 2:未执行 3 执行中 4已执行 5成功 6 失败 7 停止 8 准备数据中 9:下发中),(不填,默认值写-1)
"taskId": 任务ID,(不填,默认值写0)
"taskName": "任务名称",(非必填)
"token": "token",
"page": 第几页,
"pageSize": 每页显示的条数,
参数类型:
application/json
返回参数:
{
"code": 0,
"reason": "操作成功",
"payload": [
{
"id": 334962,
"devId": 130,
"devName": null,
"taskId": 43470,
"taskName": " 发朋友圈",
"reason": null,
"status": 9,
"statusName": "下发中",
"pluginId": 612,
"pluginName": "发朋友圈",
"resId": null,
"resName": null,
"data": "",
"version": 3,
"view": "{\"_idx\":1}",
"createTime": "2018-03-16 17:55:31",
"scheduleTime": "",
"processStyle": 0,
"styleName": "单个任务",
"taskType": "立即执行",
"dataCnt": 0,
"resultUnicode": "",
"resultKey": "",
"resultValue": "",
"resultReason": "",
"statCnt": 0,
"statUni": "",
"statVal": "",
"deviceLog": ""
},{
"id": 334963,
"devId": 130,
"devName": null,
"taskId": 43470,
"taskName": " 发朋友圈",
"reason": null,
"status": 9,
"statusName": "下发中",
"pluginId": 612,
"pluginName": "发朋友圈",
"resId": null,
"resName": null,
"data": "",
"version": 3,
"view": "{\"_idx\":1}",
"createTime": "2018-03-16 17:55:31",
"scheduleTime": "",
"processStyle": 0,
"styleName": "单个任务",
"taskType": "立即执行",
"dataCnt": 0,
"resultUnicode": "",
"resultKey": "",
"resultValue": "",
"resultReason": "",
"statCnt": 0,
"statUni": "",
"statVal": "",
"deviceLog": ""
}
]
}
参数含义:
{
"code": 返回值,
"reason": 返回值原因,
"payload": [
{
"id": 子任务ID,
"devId": 设备ID,
"devName":设备昵称,
"taskId": 总任务ID,
"taskName": 总任务名,
"reason": 原因,
"status": 执行状态 0:默认 1:已下发 2:未执行 3 执行中 4已执行 5成功 6 失败 7 停止,
"statusName": 执行状态名称,
"pluginId": 插件id,
"pluginName":插件名,
"resId": 素材id,
"resName": 素材名,
"data": 数据源,
"version": 插件版本,
"view": 视图",
"createTime": 创建时间,
"scheduleTime": 定时时间,
"processStyle": 执行方式 0:立即执行 1:定时执行 2:手动执行,
"styleName": 执行方式名称,
"taskType": 任务方式(单个任务 计划任务),
"dataCnt": 采集个数,
"resultUnicode": 采集号码,
"resultKey": 采集关键字,
"resultValue": 采集值,
"resultReason": 采集原因,
"statCnt": 统计个数,
"statUni": 统计关键字,
"statVal": 统计值,
"deviceLog": 设备日志
}
]
}
参数类型:
application/json
描述:
协议名称 | 协议URL |
---|---|
根据设备ID查询子任务列表条数 | http://i.luobeitech.com/v3/taskSub/getTaskSubSizeByDeviceId |
输入参数:
{
"accKey": "XXXXXXXXXXXXX",
"beginTime": "2018-01-01",
"deviceId": 1,
"endTime": "2018-01-30",
"token": "XXXXXXXXXXXXX"
}
参数含义:
"accKey": "密钥",
"beginTime": "开始时间",
"endTime": "结束时间",
"deviceId":设备ID
"token": "token"
参数类型:
application/json
返回参数:
{
"code": 0,
"reason": "操作成功",
"payload": 2
}
参数含义:
"code": 返回值,
"reason": "返回值原因",
"payload": 条数
参数类型:
application/json
描述:
协议名称 | 协议URL |
---|---|
根据设备ID查询子任务列表 | http://i.luobeitech.com/v3/taskSub/getTaskSubListByDeviceId |
输入参数:
{
"accKey": "XXXXXXXXXXXXX",
"beginTime": "2018-01-01",
"deviceId": 1,
"endTime": "2018-01-30",
"token": "XXXXXXXXXXXXX",
"page": 1,
"pageSize": 10
}
参数含义:
"accKey": "密钥",
"beginTime": "开始时间",
"endTime": "结束时间",
"deviceId":设备ID
"token": "token"
"page": 第几页,
"pageSize": 每页显示的条数,
参数类型:
application/json
返回参数:
{
"code": 0,
"reason": "操作成功",
"payload": [
{
"id": 334962,
"devId": 130,
"devName": null,
"taskId": 43470,
"taskName": " 发朋友圈",
"reason": null,
"status": 9,
"statusName": "下发中",
"pluginId": 612,
"pluginName": "发朋友圈",
"resId": null,
"resName": null,
"data": "",
"version": 3,
"view": "{\"_idx\":1}",
"createTime": "2018-03-16 17:55:31",
"scheduleTime": "",
"processStyle": 0,
"styleName": "单个任务",
"taskType": "立即执行",
"dataCnt": 0,
"resultUnicode": "",
"resultKey": "",
"resultValue": "",
"resultReason": "",
"statCnt": 0,
"statUni": "",
"statVal": "",
"deviceLog": ""
},{
"id": 334963,
"devId": 130,
"devName": null,
"taskId": 43470,
"taskName": " 发朋友圈",
"reason": null,
"status": 9,
"statusName": "下发中",
"pluginId": 612,
"pluginName": "发朋友圈",
"resId": null,
"resName": null,
"data": "",
"version": 3,
"view": "{\"_idx\":1}",
"createTime": "2018-03-16 17:55:31",
"scheduleTime": "",
"processStyle": 0,
"styleName": "单个任务",
"taskType": "立即执行",
"dataCnt": 0,
"resultUnicode": "",
"resultKey": "",
"resultValue": "",
"resultReason": "",
"statCnt": 0,
"statUni": "",
"statVal": "",
"deviceLog": ""
}
]
}
参数含义:
{
"code": 返回值,
"reason": 返回值原因,
"payload": [
{
"id": 子任务ID,
"devId": 设备ID,
"devName":设备昵称,
"taskId": 总任务ID,
"taskName": 总任务名,
"reason": 原因,
"status": 执行状态 0:默认 1:已下发 2:未执行 3 执行中 4已执行 5成功 6 失败 7 停止,
"statusName": 执行状态名称,
"pluginId": 插件id,
"pluginName":插件名,
"resId": 素材id,
"resName": 素材名,
"data": 数据源,
"version": 插件版本,
"view": 视图",
"createTime": 创建时间,
"scheduleTime": 定时时间,
"processStyle": 执行方式 0:立即执行 1:定时执行 2:手动执行,
"styleName": 执行方式名称,
"taskType": 任务方式(单个任务 计划任务),
"dataCnt": 采集个数,
"resultUnicode": 采集号码,
"resultKey": 采集关键字,
"resultValue": 采集值,
"resultReason": 采集原因,
"statCnt": 统计个数,
"statUni": 统计关键字,
"statVal": 统计值,
"deviceLog": 设备日志
}
]
}
参数类型:
application/json