CRM相關(guān)
公海導(dǎo)入模板
接口: 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"
}
]
}
]
}
公海導(dǎo)入
接口: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 // 如果公海中已有重復(fù)的號碼,是否覆蓋,bool
}