根据任务id获取群发任务员工执行情况

企业可通过此接口获取指定的任务id的群发任务员工执行情况

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/mass_send/corp/get_mass_task_execute_detail

Query参数:

参数 类型 必填 说明
access_token string 调用接口凭证

Body参数:

{
  "task_id": "test_fabe31be96d6",
  "user_id": "test_99751e521038",
  "query_user_id": "test_b1dc24f72021",
  "need_msg_id": true,
  "current_index": 1,
  "page_size": 10,
  "need_statistics_data": true
}
参数 类型 必填 说明
task_id string 任务ID
current_index int 页码。默认值为1
page_size int 列表返回长度。默认值为20,最大值为100
user_id string 操作员工userId
query_user_id string 查询指定员工数据
need_msg_id bool 是否需要返回msgIds,默认false
need_statistics_data bool 是否需要查询员工任务统计数据

返回值:

{
  "code": 0,
  "msg": "请求成功",
  "data": {
    "total": 2,
    "records": [
      {
        "user_id": "test_6654a3f37ab2",
        "send_status": 59,
        "send_time": 68,
        "msg_id_list": [
          "test_affd332b98cc"
        ],
        "plan_target_qty": 84,
        "success_target_qty": 91,
        "fail_target_qty": 46,
        "excess_target_qty": 70,
        "comment_staff_qty": 69,
        "comment_customer_qty": 34,
        "like_staff_qty": 6,
        "like_customer_qty": 97
      }
    ]
  }
}

返回说明:

参数 类型 说明
code int 出错返回码,为0表示成功,非0表示调用失败
msg string 返回码描述
data Page 分页对象
total int 总量
records obj[] 数据列表
user_id string 员工id
send_status int 任务执行状态;-1.创建任务失败;0.未执行;1.执行成功;2.执行失败;
send_time long 员工发送时间,格式:时间戳,精度:秒
msg_id_list array 群发客户/客户群消息id/朋友圈id,id集合
plan_target_qty int 计划发送客户/客户群数量
success_target_qty int 成功发送客户/客户群数量(不包含超额发送)
fail_target_qty int 失败发送客户/客户群数量
excess_target_qty int 超额发送客户/客户群数量
comment_staff_qty int 评论员工数
comment_customer_qty int 评论客户数
like_staff_qty int 点赞员工数
like_customer_qty int 点赞客户数

results matching ""

    No results matching ""