- 开发指南
- 基础接口
- 客户设置
- 消息推送
- 客户&线索&待分配
- 客户查询
- 客户导入
- 客户
- 客户数据
- 客户聊天
- 已跟进客户数据
- 线索&待分配
- 商机
- 个人客户转企业客户
- 企业客户联系人
- 客户旅程
- 客户操作
- 按企微员工id列出企微好友客户详情POST
- 公海
- 企微组织架构
- 企微标签库
- 企业
- 合同
- 电商平台
- 营销
- 数据统计
- 内容访客
- 电销手机
- SOP任务
- 群发消息
- 管控
- 工单
- 素材
- 应用通知
- 附录
- 群数据
- 店主活码
客户文件查询接口
POST
/api/v3/customer/list-file-of-customer
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
userId
string
销售用户的企微userId
customerId
integer | null
探马客户id
externalUserId
string | null
企微客户id
pageSize
integer | null
页大小
lastId
number | null
最大记录id
示例
{
"salesId": 410308323612736,
"customerId": 442273848965184,
"pageSize": 30
}
示例代码
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/customer/list-file-of-customer' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"salesId": 410308323612736,
"customerId": 442273848965184,
"pageSize": 30
}'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
message
string
响应结果
data
object | null
响应数据
totalCount
integer
总条数
totalPage
integer
总页数
pageNo
integer
页数
pageSize
integer
页大小
result
array [object {10}]
文件信息
示例
{
"code": 0,
"message": "success",
"data": {
"totalCount": 3,
"totalPage": 2,
"pageNo": 0,
"pageSize": 2,
"result": [
{
"id": 462821966907328,
"corpid": "ww396db747d40d16f2",
"salesId": 446755638177856,
"customerId": 460155938357312,
"createTime": "2022-02-28 14:14:48",
"fileContent": "{\"name\":\"0.0.2-SNAPSHOT\",\"url\":\"https://dev.tanmarket.cn/fdfsServer/group1/M00/42/CD/rBHTdWIOJcqAOtPnAAB3mQDufYE665.rar\",\"size\":\"29.9KB\",\"type\":\"rar\",\"fileId\":\"group1/M00/42/CD/rBHTdWIOJcqAOtPnAAB3mQDufYE665.rar\"}",
"fileName": "0.0.2-SNAPSHOT",
"operatorId": 410992262547520,
"authorName": "admin",
"followContent": null
},
{
"id": 460911105235008,
"corpid": "ww396db747d40d16f2",
"salesId": 446755638177856,
"customerId": 460155938357312,
"createTime": "2022-02-17 19:04:10",
"fileContent": "{\"name\":\"0.0.2-SNAPSHOT\",\"url\":\"https://dev.tanmarket.cn/fdfsServer/group1/M00/42/CD/rBHTdWIOJcqAOtPnAAB3mQDufYE665.rar\",\"size\":\"29.9KB\",\"type\":\"rar\",\"fileId\":\"group1/M00/42/CD/rBHTdWIOJcqAOtPnAAB3mQDufYE665.rar\"}",
"fileName": "0.0.2-SNAPSHOT",
"operatorId": 410992262547520,
"authorName": "admin",
"followContent": null
}
]
}
}
⚪1000错误
修改于 2022-03-10 09:04:02