访问路径:/api/channel/detailTwo

接口说明:获取任务详情

限制说明:允许一秒请求一次,否则返回:操作频繁,请稍后重试

URL结构

https://open.rabbitpre.com/api/channel/detailTwo

接口协议:HTTPS

HTTP请求方式:POST / JSON(application/json)

请求参数

参数

必选

类型

说明

channelId

true

long

员工ID,通过获取员工ID接口获取

taskIdtruelong任务ID
jumpfalseboolean是否外部跳转

请求示例

换行和缩进只是为了更好的展示:

https://open.rabbitpre.com/api/channel/detailTwo

请求JSON 参数

返回参数

参数

类型

说明

taskId

Integer

任务ID

taskName

string

任务名称

taskStartTime

long

任务开始时间

taskEndTime

long

任务结束时间

createTime

long

任务创建时间

receiveStatusInteger是否已领取 1: 已领取,0:未领取
recordIdlong任务记录ID(与员工ID一一对应
contentIdstring作品ID
contentTypestring作品类型
contentNamestring作品名称
appUrlstring作品url
contentCoverstring作品封面地址

target

list

目标集合

itemId

Integer目标主键ID

name

string目标名称

value

Integer目标值

realValue

Integer实际完成值

urgeFlag

Integer是否激励 1是 0否

repeatFlag

Integer是否可重复获取:1 是 0 否 (当完成值达到目标值的N倍,可获得N倍积分)
urgeFlagboolean是否激励
hasCnlCardBtnInteger有无查看并分享(开启名片)按钮 (0-无 1-有)
channelIdlong员工ID
channelTypestring员工类型
groupIdlong员工所属部门ID
viewTypestring任务分发类型(applet-小程序 h5-h5页面)
hasFormInteger任务作品里是否有表单
shareDescstring分享文案

返回成功示例

        

访问路径:/api/channel/detailOverview

接口说明:任务详情 数据概览

限制说明:允许一秒请求一次,否则返回:操作频繁,请稍后重试

URL结构

https://open.rabbitpre.com/api/channel/detailOverview

接口协议:HTTPS

HTTP请求方式:POST / JSON(application/json)

请求参数

参数

必选

类型

说明

channelId

true

long

员工ID,通过获取员工ID接口获取

taskIdtruelong任务ID
typetrueInteger统计维度 0-昨天 1-今天 2-近7天 3-累计

请求示例

换行和缩进只是为了更好的展示:

https://open.rabbitpre.com/api/channel/detailOverview

请求JSON 参数

返回参数

参数

类型

说明

viewPv

Integer

浏览量

viewUv

Integer

浏览人数

sharePv

Integer

分享数

formPv

Integer

表单数

newCustomers

long

新增客户数

返回成功示例

                    

访问路径:/api/channel/updateTaskReciveStatus

接口说明:修改任务变为已接收

限制说明:允许一秒请求一次,否则返回:操作频繁,请稍后重试

URL结构

https://open.rabbitpre.com/api/channel/updateTaskReciveStatus

接口协议:HTTPS

HTTP请求方式:POST / JSON(application/json)

请求参数

参数

必选

类型

说明

channelId

true

long

员工ID,通过获取员工ID接口获取

taskIdtruelong任务ID

请求示例

换行和缩进只是为了更好的展示:

https://open.rabbitpre.com/api/channel/updateTaskReciveStatus

请求JSON 参数

返回参数

参数

类型

说明




返回成功示例

                    

访问路径:/api/channel/customerList

接口说明:任务统计客户列表明细数

限制说明:允许一秒请求一次,否则返回:操作频繁,请稍后重试

URL结构

https://open.rabbitpre.com/api/channel/customerList

接口协议:HTTPS

HTTP请求方式:POST / JSON(application/json)

请求参数

参数

必选

类型

说明

channelId

true

long

员工ID,通过获取员工ID接口获取

taskIdtruelong任务ID
appIdtruestring作品ID
pageNofalseInteger页数:默认1,最大50
pageSizefalseInteger条数:默认10 , 最大 10

请求示例

换行和缩进只是为了更好的展示:

https://open.rabbitpre.com/api/channel/customerList

请求JSON 参数

返回参数

参数

类型

说明

audienceId

long

受众ID

openidstring微信对应渠道公众号openid
avatarstring微信头像地址
nickNamestring微信昵称
lastActiveTimelong最后访问时间
eventTypeslist事件列表
relChannelFlagInteger客户档案是否关联员工:0.未关联 1.已关联

返回成功示例

      

访问路径:/api/channel/taskFormList

接口说明:任务详情-表单列表

限制说明:允许一秒请求一次,否则返回:操作频繁,请稍后重试

URL结构

https://open.rabbitpre.com/api/channel/taskFormList

接口协议:HTTPS

HTTP请求方式:POST / JSON(application/json)

请求参数

参数

必选

类型

说明

channelId

true

long

员工ID,通过获取员工ID接口获取

taskIdtruelong任务ID
appIdtruestring作品ID
pageNofalseInteger页数:默认1,最大50
pageSizefalseInteger条数:默认10 , 最大 10

请求示例

换行和缩进只是为了更好的展示:

https://open.rabbitpre.com/api/channel/taskFormList

请求JSON 参数

返回参数

参数

类型

说明

formStruct

map

表单结构




formDatamap表单数据



audienceInfo
受众信息
audidstring受众ID
avatarstring受众头像
nicknamestring受众昵称



taskInfo
表单数据-任务信息
taskIdstring任务ID
taskNamestring任务名称
appNamestring作品名称
formObjectIdstring表单ObjectID
channelIdstring员工ID
isClickInteger员工是否点击表单 0或者null=未点击 1=点击
isFollowupInteger跟进状态 0或者null=未跟进 1=跟进中 2=无法跟进
canFollowupInteger能否跟进 0或者null=不能 1=能
channelNamestring员工名称
wxHeadimgurlstring员工头像

返回成功示例

   


            
  • 无标签