描述:
协议名称 | 协议URL |
---|---|
获取主任务列表 | http://i.luobeitech.com/v3/task/getAllTaskList |
输入参数:
{
"accKey": "密钥",
"token": "token",
"beginTime": "开始时间",
"endTime": "结束时间",
"page": 1,(第几页)
"pageSize": 10,(每页显示多少条)
"taskName": "任务名称",(模糊查询,可不传)
"type": 1 (任务类型 1 单个任务 2 组合任务 )
}
参数类型:
application/json
例子:
{
"accKey": "XXXXXXXXXXXXXXXXXXX",
"token": "XXXXXXXXXXXXXXXXXXX",
"beginTime": "2017-01-01",
"endTime": "2018-01-01",
"page": 1,
"pageSize": 10,
"type":1
}
返回参数:
{
"code": "状态码",
"reason": "原因",
"payload": [
{
"id": 任务Id,
"createTime": "创建时间",
"scheduleTime": "定时时间",
"processStyle": 执行方式 0:立即执行 1:定时执行 2:手动执行,
"devCnt": 执行的设备数量,
"name": 任务名,
"type": 任务类型 0 全部 1 单个 2 组合,
"accountId": 用户id,
"allSubTask": 所有子任务个数,
"sendTask": 下发任务个数,
"finishTask": 完成任务个数,
"subScheduleTime": 子任务定时时间列表,
"taskSubName": 子任务名列表,
"okCnt": 子任务执行成功的个数,
"failCnt": 子任务执行失败的个数,
"dataCnt": 采集个数,
"resultUnicode": 采集号码,
"resultKey": 采集关键字,
"resultValue": 采集值,
"resultReason": 采集原因,
"statCnt": 统计个数,
"statUni": 统计关键字,
"statVal": 统计值
}
]
}
参数类型:
application/json
例子:
{
"code": 0,
"reason": "操作成功",
"payload": [
{
"id": 66496,
"createTime": "2017-12-22 17:40:22",
"scheduleTime": "",
"processStyle": 0,
"devCnt": 14,
"name": "今日头条(指定人动态评论内容点赞评论)",
"type": 1,
"accountId": 174,
"allSubTask": 0,
"sendTask": 0,
"finishTask": 0,
"subScheduleTime": "",
"taskSubName": "今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论),
今日头条(指定人动态评论内容点赞评论)",
"okCnt": 12,
"failCnt": 0,
"dataCnt": 0,
"resultUnicode": null,
"resultKey": null,
"resultValue": null,
"resultReason": null,
"statCnt": 0,
"statUni": null,
"statVal": null
}
]
}
错误码:
code=0,reason=操作成功
code=100,reason=操作失败,无效的accessKey信息
code=102,reason=操作失败,无效的token信息
code=104,reason=操作失败,未授权的accessKey
code=105,reason=操作失败,token与accessKey不匹配
code=106,reason=操作失败,token已经过期
code=5400,reason=操作失败,开始时间格式错误
code=5401,reason=操作失败,结束时间格式错误
描述:
协议名称 | 协议URL |
---|---|
获取主任务列表 | http://i.luobeitech.com/v3/task/getTaskListSize |
输入参数:
{
"accKey": "密钥",
"token": "token",
"beginTime": "开始时间",
"endTime": "结束时间",
"taskName": "任务名称",(模糊查询,可不传)
"type": 1 (任务类型 1 单个任务 2 组合任务 )
}
参数类型:
application/json
例子:
{
"accKey": "XXXXXXXXXXXXXXXXXXX",
"token": "XXXXXXXXXXXXXXXXXXX",
"beginTime": "2017-01-01",
"endTime": "2018-01-01",
"type":1
}
返回参数:
{
"code": "状态码",
"reason": "原因",
"payload": "总条数"
}
参数类型:
application/json
例子:
{
"code": 0,
"reason": "操作成功",
"payload": 4041
}
错误码:
code=0,reason=操作成功
code=100,reason=操作失败,无效的accessKey信息
code=102,reason=操作失败,无效的token信息
code=104,reason=操作失败,未授权的accessKey
code=105,reason=操作失败,token与accessKey不匹配
code=106,reason=操作失败,token已经过期
code=5400,reason=操作失败,开始时间格式错误
code=5401,reason=操作失败,结束时间格式错误
描述:
协议名称 | 协议URL |
---|---|
通过主任务Id获取采集数据详情(详情) | http://i.luobeitech.com/v3/task/getDataResultByTaskId |
输入参数:
{
"accKey": "密钥",
"taskId": "任务Id",
"token": "token"
}
参数类型:
application/json
例子:
{
"accKey": "XXXXXXXXXXXXXXXXXXX",
"token": "XXXXXXXXXXXXXXXXXXX",
"taskId":66496
}
返回参数:
{
"code": 状态码,
"payload": [
{
"resultKey": "采集关键字",
"resultReason": "采集原因",
"resultUnicode": "采集号码",
"resultValue": "采集值"
}
],
"reason": "原因"
}
参数类型:
application/json
例子:
{
"code": 0,
"payload": [
{
"resultKey": "微信数据",
"resultReason": "",
"resultUnicode": "139xxxx3343",
"resultValue": "[{"name":"性别","value":"女"},
{"name":"昵称","value":"雅莉 "},
{"name":"地区","value":"浙江 杭州"}]"
},{
"resultKey": "微信数据",
"resultReason": "",
"resultUnicode": "187xxxx4858",
"resultValue": "[{"name":"性别","value":"男"},
{"name":"昵称","value":"TYM "},
{"name":"地区","value":"浙江 杭州"}]"
}
],
"reason": "操作成功"
}
错误码:
code=0,reason=操作成功
code=100,reason=操作失败,无效的accessKey信息
code=102,reason=操作失败,无效的token信息
code=104,reason=操作失败,未授权的accessKey
code=105,reason=操作失败,token与accessKey不匹配
code=106,reason=操作失败,token已经过期
描述:
协议名称 | 协议URL |
---|---|
通过主任务Id获取采集数据详情(统计) | http://i.luobeitech.com/v3/task/getDataStatusByTaskId |
输入参数:
{
"accKey": "密钥",
"taskId": "任务Id",
"token": "token"
}
参数类型:
application/json
例子:
{
"accKey": "XXXXXXXXXXXXXXXXXXX",
"token": "XXXXXXXXXXXXXXXXXXX",
"taskId":66496
}
返回参数:
{
"code": 状态码,
"payload": [
{
"statUni": "统计关键字",
"statVal": "统计值"
}
],
"reason": "原因"
}
参数类型:
application/json
例子:
{
"code": 0,
"payload": [
{
"statUni": "批量点赞",
"statVal": "2"
}
],
"reason": "操作成功"
}
错误码:
code=0,reason=操作成功
code=100,reason=操作失败,无效的accessKey信息
code=102,reason=操作失败,无效的token信息
code=104,reason=操作失败,未授权的accessKey
code=105,reason=操作失败,token与accessKey不匹配
code=106,reason=操作失败,token已经过期
描述:
协议名称 | 协议URL |
---|---|
获取数据中心数据 | http://i.luobeitech.com/customer/getCustomerByPage |
输入参数:
{
"accKey": "密钥",
"checkState": 检测状态( 0 未检测 -1 非微信号 1 微信号),(可不传)
"code": "号码",(可不传)
"ext": "拓展列",(可不传)
"isShare": 是否分享,(可不传) 1导入的数据 2 分享给自己的数据
"name": "名字",(可不传)
"page": 第几页,
"pageSize": 每页显示多少条,
"region": "地区",(可不传)
"tagIds": [
标签Id列表
],(可不传)
"token": "token"
}
参数类型:
application/json
例子:
{
"accKey": "XXXXXXXXXXXXXX",
"checkState": 0,
"code": "186xxxx9878",
"ext": "拓展列1",
"isShare": 0,
"name": "名字",
"page": 第几页,
"pageSize": 每页显示多少条,
"region": "地区",
"tagIds": [
标签Id列表
],
"token": "XXXXXXXXXXXXXX"
}
返回参数:
{
"code": 0,
"reason": "操作成功",
"payload": [
{
"id": id,
"accountId": 用户id,
"channel": 渠道,
"createDate": 创建时间,
"isObtain": 0,
"batchId": 0,
"unicode": "号码",
"name": "名称",
"region": "地区",
"sex": 性别,
"remark": "备注",
"remarkName": "备注名称",
"ecStoreName": "(电商)客户来源网店名",
"ecProduct": "(电商)客户购买商品",
"ecId": "电商)客户唯一标识",
"extColumn1": "拓展1",
"extColumn2": "拓展2",
"extColumn3": "拓展3",
"tagId": "标签Id",
"hs1": "话术1",
"hs2": "话术2",
"hs3": "话术3",
"flag":用户标识
"useCount": 使用次数,
"tagName": "标签名称",
"unitype": 数据类型,(0 手机号 1 qq号 2 微信号)
"uniTypeName": "数据类型名称",
"shareAccount": "分享用户名",
"isShare": 是否是分享数据, 0 否 1 是
"statKey": "统计关键字",
"statVal": "统计值"
}
]
}
参数类型:
application/json
例子:
{
"code": 0,
"payload": [
{
"statUni": "批量点赞",
"statVal": "2"
}
],
"reason": "操作成功"
}
错误码:
code=0,reason=操作成功
code=100,reason=操作失败,无效的accessKey信息
code=102,reason=操作失败,无效的token信息
code=104,reason=操作失败,未授权的accessKey
code=105,reason=操作失败,token与accessKey不匹配
code=106,reason=操作失败,token已经过期
描述:
协议名称 | 协议URL |
---|---|
获取数据中心数据 | http://i.luobeitech.com/customer/getCustomerSize |
输入参数:
{
"accKey": "密钥",
"checkState": 检测状态( 0 未检测 -1 非微信号 1 微信号),(可不传)
"code": "号码",(可不传)
"ext": "拓展列",(可不传)
"isShare": 是否分享,(可不传)0 默认 1导入的数据 2 分享给自己的数据
"name": "名字",(可不传)
"region": "地区",(可不传)
"tagIds": [
标签Id列表
],(可不传)
"token": "token"
}
参数类型:
application/json
例子:
{
"accKey": "XXXXXXXXXXXXXX",
"checkState": 0,
"code": "186xxxx9878",
"ext": "拓展列1",
"isShare": 0,
"name": "名字",
"region": "地区",
"tagIds": [
标签Id列表
],
"token": "XXXXXXXXXXXXXX"
}
返回参数:
{
"code": 0,
"reason": "操作成功",
"payload":"条数"
}
参数类型:
application/json
例子:
{
"code": 0,
"payload": 1
"reason": "操作成功"
}
错误码:
code=0,reason=操作成功
code=100,reason=操作失败,无效的accessKey信息
code=102,reason=操作失败,无效的token信息
code=104,reason=操作失败,未授权的accessKey
code=105,reason=操作失败,token与accessKey不匹配
code=106,reason=操作失败,token已经过期