赞
踩
CRM相关
公海导入模板
接口: GET /v1/crm/create
返回
{
"data": [
{
"name": "号码", // 中文名称
"variable_name": "number", // 变量名
"options": null
},
{
"name": "姓名",
"variable_name": "name",
"options": null
},
{
"name": "欠款金额",
"variable_name": "1161db61-42ca-40ba-8337-04a559651c6f", // 自定义变量,变量为uuid
"options": null
},
{
"name": "婚姻",
"variable_name": "e9a04366-1124-4c95-8992-89a3e1dec5e4",
"options": [ // 可选项
{
"name": "已婚",
"value": "1"
},
{
"name": "未婚",
"value": "2"
公海导入
接口:POST /v1/crm
data
{
"formData": [
[
{
"variable_name": "number", // 变量名称
"value": ["18651662212"] // 变量值,为了兼容多选,所有变量值都是array类型
},
{
"variable_name": "name",
"value": ["哈哈2"]
},
{
"variable_name": "e9a04366-1124-4c95-8992-89a3e1dec5e4",
"value": ["2"] // 上个示例中的婚姻变量,变量值只能在options中的values中选择
}
],
[
{
"variable_name": "number",
"value": ["18651662222"]
},
{
"variable_name": "name",
"value": ["小王"]
}
]
],
"is_cover": true // 如果公海中已有重复的号码,是否覆盖,bool
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。