错误码 | 说明 |
---|---|
21101 | 线索添加失败,请重新添加 |
21102 | 找不到该员工 |
21103 | 线索不存在 |
21104 | 自定义字段不存在 |
21105 | 手机线索数量超过20的限制 |
21106 | 时间格式不正确 |
21107 | 电话号码不合法,不合法包括:(字母、文字、特殊字符) |
支持最多批量新建20个手机线索,超过数量会报错。 |
{
"clue_list":[
{
"phone":"13367278448",
"staff_ext_id":"ZengDeWei",
"remark":"大头",
"batch_add_customer_mission":true,
"grade_id":0,
"tags": [],
"base_info":{
"state": "来源",
"description": "描述",
"age": "年龄",
"phone_number": "电话",
"qq": "QQ",
"weibo": "微博",
"email": "邮箱",
"address": "地址",
"birthday": "生日"
},
"custom_info":{
"field_name":"字段1",
"field_value":"值1"
}
}
]
}
{
"clue_list":[
{
"phone":"13367278448",
"staff_ext_id":"ZengDeWei",
"remark":"大头",
"batch_add_customer_mission":true,
"grade_id":0,
"tags": [],
"base_info":{
"state": "来源",
"description": "描述",
"age": "年龄",
"phone_number": "电话",
"qq": "QQ",
"weibo": "微博",
"email": "邮箱",
"address": "地址",
"birthday": "生日"
},
"custom_info":{
"field_name":"文本字段",
"field_value":"184cm"
}
}
]
}
curl --location --request POST 'https://open.weibanzhushou.com/open-api/customer_open_sea/clue/add?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"clue_list":[
{
"phone":"13367278448",
"staff_ext_id":"ZengDeWei",
"remark":"大头",
"batch_add_customer_mission":true,
"grade_id":0,
"tags": [],
"base_info":{
"state": "来源",
"description": "描述",
"age": "年龄",
"phone_number": "电话",
"qq": "QQ",
"weibo": "微博",
"email": "邮箱",
"address": "地址",
"birthday": "生日"
},
"custom_info":{
"field_name":"文本字段",
"field_value":"184cm"
}
}
]
}'
{
"errcode": 0,
"errmsg": "ok"
}