1.1. 查询企业群发任务执行明细

查询企业群发任务执行明细

请求方法

POST /groupSendTask/searchRecord

请求参数

参数名 必填 类型 说明
taskId String 任务id
userIds List 员工id
startTime LocalDateTime 开始时间 格式为yyyy-MM-dd HH:mm:ss 如"2019-01-01 15:40:00"
endTime LocalDateTime 结束时间 格式为yyyy-MM-dd HH:mm:ss 如"2019-01-01 15:40:00"
pageNum int 页数(最小1,不传默认1)
pageSize int 每页数据条数(最小1,不传默认20)

返回数据

属性名 类型 说明
code 整型 执行结果码,200表示成功,其他表示错误
message 字符串 执行结果说明
data 对象 对象数组,每个元素详见上自定义data数据表

data

参数名 类型 说明
id Long 自增主键
companyId Long 完成标识 0 未完成 1 完成
customerRemark String 该员工对此外部联系人的备注
externalCorpName String 外部联系人所在企业的简称,仅当联系人类型是企业微信用户时有此字段
externalId String 外部联系人userid/客户群id
externalName String 客户名称/群名
sendTime LocalDateTime 任务开始时间 格式为yyyy-MM-dd HH:mm:ss 如"2019-01-01 15:40:00"
externalType Integer 外部联系人的类型,1表示该外部联系人是微信用户,2表示该外部联系人是企业微信用户
msgId String 群发消息的id
office01Name String 员工所在一级部门名
office02Name String 员工所在二级部门名
office03Name String 员工所在三级部门名
office04Name String 员工所在四级部门名
office05Name String 员工所在五级部门名
office06Name String 员工所在六级部门名
office07Name String 员工所在七级部门名
status Integer 发送状态 0-未发送 1-已发送 2-客户不是好友 3-客户已经收到其他群发消息 4-客户接受消息达到上限
userId String 执行员工id
taskId Long 任务id
userName String 执行员工名称

请求示例

curl --location --request POST 'https://[子域名].wefeng360.com/api/v1/normalTask/search?sign=fbdd2e45e3bd9d1f1e4915863cff62c2d6f901490070741b821ad55d7e231552&timestamp=1619143576' --header 'Content-Type: application/json'

入参

{   
    "taskId": 110,
    "current":1,
    "pageSize":20,
    "userIds": ["hanxue01"],
    "pageNum":1
}

返回示例

```json { "succeed": true, "code": 200, "bizCode": "000000", "message": "OK", "visible": false, "paging": { "pageNum": 1, "pageSize": 20, "total": 4 }, "data": [{ "id": 131867969, "companyId": 1, "taskId": 819, "msgId": "msg_3b_EAAAdRVh2CMp3_gy8UIF0--kWg", "userId": "hanxue01", "userName": "hanxue01", "externalId": "wm_3b_EAAAeuh24ce2cDKoCzzmi-wCng", "externalName": "樱桃\uD83C\uDF52妈妈", "externalType": 1, "externalCorpName": null, "sendTime": "2022-03-11 20:35:13", "status": 1, "customerRemark": "樱桃\uD83C\uDF52妈妈", "office01Name": "销售分析", "office02Name": "商机部门", "office03Name": null, "office04Name": null, "office05Name": null, "office06Name": null, "office07Name": null }, { "id": 131867970, "companyId": 1, "taskId": 819, "msgId": "msg_3b_EAAAdRVh2CMp3_gy8UIF0--kWg", "userId": "hanxue01", "userName": "hanxue01", "externalId": "wm_3b_EAAAO8wJuZi9wy1vTYQ2b0XQNg", "externalName": "阿呆", "externalType": 1, "externalCorpName": "1", "sendTime": "2022-03-11 20:35:13", "status": 1, "customerRemark": "阿呆", "office01Name": "销售分析", "office02Name": "商机部门", "office03Name": null, "office04Name": null, "office05Name": null, "office06Name": null, "office07Name": null }, { "id": 131867972, "companyId": 1, "taskId": 819, "msgId": "msg_3b_EAAAdRVh2CMp3_gy8UIF0--kWg", "userId": "hanxue01", "userName": "hanxue01", "externalId": "wm_3b_EAAATUi6quEjDyTPeKnWbFgJ5g", "externalName": "frona", "externalType": 1, "externalCorpName": null, "sendTime": "2022-03-11 20:35:13", "status": 1, "customerRemark": "frona", "office01Name": "销售分析", "office02Name": "商机部门", "office03Name": null, "office04Name": null, "office05Name": null, "office06Name": null, "office07Name": null }, { "id": 131867971, "companyId": 1, "taskId": 819, "msgId": "msg_3b_EAAAdRVh2CMp3_gy8UIF0--kWg", "userId": "hanxue01", "userName": "hanxue01", "externalId": "wm_3b_EAAAzIWjiiVKkAwxpSSuK1l2Hw", "externalName": "凡星", "externalType": 1, "externalCorpName": null, "sendTime": "2022-03-11 20:35:13", "status": 1, "customerRemark": "凡星", "office01Name": "销售分析", "office02Name": "商机部门", "office03Name": null, "office04Name": null, "office05Name": null, "office06Name": null, "office07Name": null }] }

results matching ""

    No results matching ""