You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

62 lines
1.2 KiB

meta {
name: 移交预览
type: http
seq: 6
tags: [
generated
]
}
get {
url: {{baseUrl}}/api/system/users/transfer-preview
body: none
auth: inherit
}
params:query {
id: 1001
}
docs {
# 移交预览
`GET /api/system/users/transfer-preview`
移交预览(各域归属资产计数):分域统计移交方名下客户/商机/线索/项目计数。
## 请求参数
| 参数 | 类型 | 必填 | 默认 | 说明 |
| --- | --- | --- | --- | --- |
| id | string | 是 | - | 移交方用户 ID |
## 请求示例
请求头:Authorization: Bearer {{token}}
GET /api/system/users/transfer-preview?id=1001
## 响应 data 结构
| 字段 | 类型 | 说明 |
| --- | --- | --- |
| [].domain | string | 域标识 lead/customer/opportunity/project |
| [].domainName | string | 域展示名(线索/客户/商机/项目) |
| [].count | long | 该域名下归属资产数 |
## 响应示例
// 示例数据,字段结构以上表为准,非真实返回
```json
{
"code": 0,
"success": true,
"message": "success",
"data": [
{
"domain": "customer",
"domainName": "客户",
"count": 12
}
]
}
```
}