- 独立部署版
- V1.0-(2022.8.18)
- v1.1-(2023.6.20)
- v1.2-(2023.10.20)
- v1.3-(2023.11.20)
- 低代码
- v1.4
- 数据字典
- 绩效考核
- 规则设置
- 自定义表单
- 客户列表
- 联系人列表
- 合同列表
- 业绩统计
- 客户记录
- 工作汇报
- v1.5
- v1.6
客户详情接口
开发中
GET
/ent/client/customer/{id}
责任人:未设置
请求参数
Path 参数
id
string
必需
Header 参数
Authorization
string
必需
默认值:
Bearer {{ENT_TOKEN}}
X-Requested-With
string
必需
默认值:
XMLHttpRequest
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/ent/client/customer/' \
--header 'Authorization;' \
--header 'X-Requested-With;'
返回响应
🟢200成功
application/json
Body
message
string
必需
status
integer
必需
data
object
必需
customer_status
string
客户状态
salesman
object
业务员
customer_no
string
客户编号
list
array [object {6}]
必需
tips
integer
必需
示例
{
"message": "ok",
"status": 200,
"data": {
"customer_status": "0",
"salesman": {
"id": 55,
"avatar": "https://crmebent.oss-cn-hangzhou.aliyuncs.com/2023/7/1/949ef20230701115308453.png",
"name": "寇思雨"
},
"customer_no": "TxApQI",
"list": [
{
"id": 1,
"title": "基本信息",
"sort": 10,
"types": 1,
"status": 1,
"data": [
{
"id": 7,
"key": "customer_way",
"key_name": "客户来源",
"type": "single",
"input_type": "select",
"cate_id": 1,
"param": "",
"decimal_place": 0,
"upload_type": 0,
"required": 1,
"placeholder": "客户来源的提示信息",
"max": "1",
"min": "1",
"dict_ident": "customer_way",
"value": [
"开源项目"
],
"uniqued": 0,
"desc": "",
"sort": 9,
"status": 1,
"enable_delete": 0,
"options": [],
"options_level": 1
},
{
"id": 1,
"key": "customer_name",
"key_name": "客户名称",
"type": "text",
"input_type": "input",
"cate_id": 1,
"param": "",
"decimal_place": 0,
"upload_type": 0,
"required": 1,
"placeholder": "请输入客户名称",
"max": "30",
"min": "1",
"dict_ident": "",
"value": "梵蒂冈有限公司",
"uniqued": 1,
"desc": "desc",
"sort": 8,
"status": 1,
"enable_delete": 0,
"options": [],
"options_level": 0
},
{
"id": 12,
"key": "customer_followed",
"key_name": "是否关注",
"type": "radio",
"input_type": "radio",
"cate_id": 1,
"param": "",
"decimal_place": 0,
"upload_type": 0,
"required": 1,
"placeholder": "是否关注的提示信息",
"max": "5",
"min": "1",
"dict_ident": "follow_status",
"value": [
"关注"
],
"uniqued": 0,
"desc": "",
"sort": 7,
"status": 1,
"enable_delete": 0,
"options": [],
"options_level": 1
},
{
"id": 8,
"key": "customer_label",
"key_name": "客户标签",
"type": "checked",
"input_type": "checked",
"cate_id": 1,
"param": "",
"decimal_place": 0,
"upload_type": 0,
"required": 0,
"placeholder": "客户标签的提示信息",
"max": "10",
"min": "1",
"dict_ident": "",
"value": [
"合同跟进",
"一般客户",
"合作服务商",
"PHP+JAVA"
],
"uniqued": 0,
"desc": "",
"sort": 6,
"status": 1,
"enable_delete": 0,
"options": [],
"options_level": 0
},
{
"id": 9,
"key": "b37a3f16",
"key_name": "企业电话",
"type": "text",
"input_type": "input",
"cate_id": 1,
"param": "",
"decimal_place": 0,
"upload_type": 0,
"required": 1,
"placeholder": "请输入手机号码",
"max": "11",
"min": "1",
"dict_ident": "",
"value": "15289654874",
"uniqued": 0,
"desc": "",
"sort": 5,
"status": 1,
"enable_delete": 0,
"options": [],
"options_level": 0
},
{
"id": 10,
"key": "area_cascade",
"key_name": "省市区",
"type": "cascader",
"input_type": "select",
"cate_id": 1,
"param": "",
"decimal_place": 0,
"upload_type": 0,
"required": 0,
"placeholder": "省市区的提示信息",
"max": "5",
"min": "1",
"dict_ident": "area_cascade",
"value": [
"河北省",
"秦皇岛市",
"山海关区"
],
"uniqued": 1,
"desc": "",
"sort": 4,
"status": 1,
"enable_delete": 0,
"options": [],
"options_level": 3
},
{
"id": 11,
"key": "9bfe77e4",
"key_name": "详细地址",
"type": "text",
"input_type": "input",
"cate_id": 1,
"param": "",
"decimal_place": 0,
"upload_type": 0,
"required": 0,
"placeholder": "详细地址的提示信息",
"max": "100",
"min": "5",
"dict_ident": "",
"value": "西咸新区",
"uniqued": 0,
"desc": "",
"sort": 3,
"status": 1,
"enable_delete": 1,
"options": [],
"options_level": 0
},
{
"id": 44,
"key": "7763f80f",
"key_name": "客户附件",
"type": "file",
"input_type": "file",
"cate_id": 1,
"param": "",
"decimal_place": 0,
"upload_type": 0,
"required": 0,
"placeholder": "",
"max": "3",
"min": "1",
"dict_ident": "",
"value": [
1320
],
"uniqued": 0,
"desc": "",
"sort": 2,
"status": 1,
"enable_delete": 1,
"options": [],
"options_level": 0,
"files": [
{
"id": 1320,
"att_dir": "http://crmebent.oss-cn-hangzhou.aliyuncs.com/files/84a3d20220531154846269.jpg",
"att_size": "115066",
"real_name": "84a3d20220531154846269.jpg"
}
]
}
]
},
{
"id": 2,
"title": "备注信息",
"sort": 5,
"types": 1,
"status": 1,
"data": [
{
"id": 6,
"key": "b37a3f36",
"key_name": "备注",
"type": "textarea",
"input_type": "input",
"cate_id": 2,
"param": "",
"decimal_place": 0,
"upload_type": 0,
"required": 0,
"placeholder": "备注的提示信息",
"max": "20",
"min": "1",
"dict_ident": "",
"value": "这是一个备注",
"uniqued": 0,
"desc": "",
"sort": 2,
"status": 1,
"enable_delete": 1,
"options": [],
"options_level": 0
},
{
"id": 47,
"key": "8c5ed5bb",
"key_name": "富文本",
"type": "oaWangeditor",
"input_type": "oaWangeditor",
"cate_id": 2,
"param": "",
"decimal_place": 0,
"upload_type": 0,
"required": 0,
"placeholder": "",
"max": "1",
"min": "1",
"dict_ident": "",
"value": "<p>测试</p>",
"uniqued": 0,
"desc": "",
"sort": 1,
"status": 1,
"enable_delete": 1,
"options": [],
"options_level": 0
}
]
}
]
},
"tips": 1
}
🟠404记录不存在(示例)
🟢200修改成功(示例)
🟠401参数不正确(示例)
🟢201新建成功(示例)
修改于 2025-03-25 10:13:12