访问路径:/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/detailOverview

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

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

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 参数

返回参数

参数

类型

说明




返回成功示例