查询任务裂变统计信息
企业可通过此接口查询任务裂变统计信息
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/fission/get_task_fission_info_count
Query参数:
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 调用接口凭证 |
Body参数:
{
"fission_id": 57,
"is_send": false,
"dept_ids": [
93
],
"user_ids": [
"fake_data"
],
"current_index": 1,
"page_size": 10
}
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
fission_id | long | 是 | 裂变ID |
is_send | bool | 否 | 是否已发送:已发送-true,未发送-false,默认查询全部 |
dept_ids | array | 否 | 部门ID集合 |
user_ids | array | 否 | 员工ID集合 |
current_index | int | 否 | 页码。默认值为1 |
page_size | int | 否 | 列表返回长度。默认值为20,最大值为100 |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"total": 31,
"records": [
{
"user_id": "fake_data",
"dept_id": "fake_data",
"send_status": true,
"fission_customer_total": 25,
"lost_customer_total": 22,
"participate_customer_total": 57,
"invite_customer_total": 9,
"finish_customer_total": 26
}
]
}
}
参数说明:
参数 | 类型 | 说明 |
---|---|---|
code | int | 返回码,0-请求成功, |
msg | string | 对返回码的文本描述内容 |
data | object | 分页对象 |
total | int | 数据条数 |
records | object[] | 统计信息 |
user_id | string | 员工ID |
dept_id | string | 部门ID |
is_send | bool | 是否已发送 |
fission_customer_total | int | 裂变客户总数 |
lost_customer_total | int | 流失客户总数 |
participate_customer_total | int | 参与客户总数 |
invite_customer_total | int | 邀请客户总数 |
finish_customer_total | int | 完成客户总数 |