- 开发指南
- 基础接口
- 客户设置
- 消息推送
- 客户&线索&待分配
- 客户查询
- 客户导入
- 客户
- 线索&待分配
- 商机
- 个人客户转企业客户
- 企业客户联系人
- 客户旅程
- 客户操作
- 按企微员工id列出企微好友客户详情POST
- 公海
- 企微组织架构
- 企微标签库
- 企业
- 合同
- 电商平台
- 营销
- 数据统计
- 内容访客
- 电销手机
- SOP任务
- 群发消息
- 管控
- 工单
- 素材
- 应用通知
- 附录
- 群数据
- 店主活码
按内容访问时间列出访客事件信息
将废弃
POST
/api/v3/visitor/list-visit-by-time-asc
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
since
string
指定时间段开始时间(包含)
before
string | null
指定时间段结束时间(不包含)
size
integer
获取数量
unionid
string | null
访客 unionid 筛选
cursor
string | null
游标
cursorBo
object | null
游标实体
time
string
游标中指定开始时间(不包含)
id
number
游标中指定客户id
示例
{
"since": "string",
"before": "string",
"size": 0,
"unionid": "string",
"cursor": "string",
"cursorBo": {
"time": "string",
"id": 0
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v3/visitor/list-visit-by-time-asc' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"since": "string",
"before": "string",
"size": 0,
"unionid": "string",
"cursor": "string",
"cursorBo": {
"time": "string",
"id": 0
}
}'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
message
string
结果说明
data
object
访客列表页
list
array [object {16}]
访客列表
nextCursor
string
游标
示例
{
"code": 0,
"message": "ok",
"data": {
"list": [
{
"unionid": "omeS86tzd_RSUTFZxfPsJcQRcZZs",
"customerId": null,
"nickname": "Dowen🐶",
"avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJCksh3ZbV3GvtFDnbsRTVdEVZibowpHerQXIUua6pKQcTzSKMzWbmZicicFEPggDagQmxvBJNvQFnaA/132",
"mobile": null,
"contentType": "1",
"contentId": "f3a7b9d1f10811ebaf0700163e106b20",
"contentTitle": "1111111122233333s333 s",
"visitTime": "2021-08-06 14:29:51",
"viewDuration": null,
"viewTimes": 1,
"qwUserId": null,
"createTime": "2021-08-06 14:29:50",
"shareFrom": {
"type": 1,
"prevVisitorUnionId": null,
"qwUserId": null
},
"shareChainSteps": null,
"shareTo": []
},
{
"unionid": "omeS86u2uPmRj_tGYrBTmzUB3ZWs",
"customerId": null,
"nickname": "7.k",
"avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83ercKjfw9xhDsSOlQp4OsfTqXcr79uOgO6oFj3rxQmXzF5MYXqFmqLNpEQWz9MZWXJMjjXXWlQAmIA/132",
"mobile": null,
"contentType": "1",
"contentId": "f3a7b9d1f10811ebaf0700163e106b20",
"contentTitle": "1111111122233333s333 s",
"visitTime": "2021-08-06 14:36:22",
"viewDuration": null,
"viewTimes": 1,
"qwUserId": null,
"createTime": "2021-08-06 14:36:22",
"shareFrom": {
"type": 1,
"prevVisitorUnionId": null,
"qwUserId": null
},
"shareChainSteps": null,
"shareTo": []
},
{
"unionid": "omeS86tzd_RSUTFZxfPsJcQRcZZs",
"customerId": null,
"nickname": "Dowen🐶",
"avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJCksh3ZbV3GvtFDnbsRTVdEVZibowpHerQXIUua6pKQcTzSKMzWbmZicicFEPggDagQmxvBJNvQFnaA/132",
"mobile": null,
"contentType": "1",
"contentId": "f3a7b9d1f10811ebaf0700163e106b20",
"contentTitle": "1111111122233333s333 s",
"visitTime": "2021-08-06 14:47:21",
"viewDuration": 46,
"viewTimes": 2,
"qwUserId": null,
"createTime": "2021-08-06 14:29:50",
"shareFrom": {
"type": 1,
"prevVisitorUnionId": null,
"qwUserId": null
},
"shareChainSteps": null,
"shareTo": []
},
{
"unionid": "omeS86tzd_RSUTFZxfPsJcQRcZZs",
"customerId": null,
"nickname": "Dowen🐶",
"avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJCksh3ZbV3GvtFDnbsRTVdEVZibowpHerQXIUua6pKQcTzSKMzWbmZicicFEPggDagQmxvBJNvQFnaA/132",
"mobile": null,
"contentType": "1",
"contentId": "f3a7b9d1f10811ebaf0700163e106b20",
"contentTitle": "1111111122233333s333 s",
"visitTime": "2021-08-06 14:48:08",
"viewDuration": 2293,
"viewTimes": 3,
"qwUserId": null,
"createTime": "2021-08-06 14:29:50",
"shareFrom": {
"type": 1,
"prevVisitorUnionId": null,
"qwUserId": null
},
"shareChainSteps": null,
"shareTo": []
},
{
"unionid": "o9ATRwThiackDCbyaxFyQBAWORGc",
"customerId": 397158546743296,
"nickname": "Aoi@杨",
"avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83ephAPGs3MVmEBfd7TwQJaoy1c2ttQH1vA7zEnOH7K94zIRJeUrXdyUEl0lCKeW5Bib4gvTSoSu2Taw/132",
"mobile": "16637238093",
"contentType": "4",
"contentId": "07899604f68611eba22e00163e106b20",
"contentTitle": "ng_yhq的名片",
"visitTime": "2021-08-06 16:06:47",
"viewDuration": null,
"viewTimes": 1,
"qwUserId": "tiaotiaodehujing",
"createTime": "2021-02-22 12:04:13",
"shareFrom": {
"type": 1,
"prevVisitorUnionId": null,
"qwUserId": "tiaotiaodehujing"
},
"shareChainSteps": null,
"shareTo": []
}
],
"nextCursor": "AAAAAGEM7ZcAAAAAAAAAAAABaTauGSAA"
}
}
⚪1000异常
修改于 2023-02-11 04:22:42