亮色模式
提交跟进动态
POST
/v1/dynamic/trail/push错误码解释
异常码 | 异常消息 | 异常解决方案 |
---|---|---|
-1 | 不支持的类型 | remark_type传递有误,不在允许的范围内 |
-1 | 备注内容不能为空 | content传递为空 |
-1 | lead_id and company_id and opportunity_id is empty | lead_id 与company_id 与 opportunity_id ,需要传递其中某一项 |
请求参数
Body 参数application/json
company_id
integer
客户ID
lead_id
integer
线索ID
opportunity_id
integer
商机ID
content
string
动态内容
remark_type
integer
可选
跟进动态类型 默认101 101:快速记录 102:关联邮件备注 103:电话 104:会面 105:社交平台 106:总部拜访 107:办事处拜访 108:来访总部 109:来访办事处 110:邮件 111:客户拜访 112:日程跟进
示例
//新增客户写跟进
{
"company_id": 5202566012,
"lead_id": "",
"remark_type":102,
"content": "测试内容"
}
//新增线索写跟进
{
"company_id": "",
"lead_id": 52025660142,
"remark_type":103,
"content": "测试内容"
}
//新增商机写跟进
{
"opportunity_id": 34545645767,
"company_id": "",
"lead_id": "",
"remark_type":104,
"content": "测试内容"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
now
string
必需
data
object
必需
trail_id
integer
动态ID
示例
{
"code": 200,
"message": "success",
"now": "2019-10-12 14:47:33",
"data": {
"trail_id": 1101090505
}
}
最后修改时间: 3 个月前