商机更新事件
POST
{{接收回调的地址}}请求参数
Body 参数application/json
header
object
回调头信息
event_type
string
回调事件类型
timestamp
string
时间戳
to_app
string
回调appid
event
object
可选
business_id
string
商机id
change_type
string
可选
子类型:change_stage 商机阶段变更
business_opp_number
string
商机编号
business_name
string
商机名称
company_id
string
企业id
stage
integer
商机阶段码值
owner_id
string
归属人id
except_amount
integer
预计赢单金额
except_date
string
可选
预计赢单日期(yyyy-MM-dd)
create_user_id
string
创建人id
create_time
number
可选
创建时间(Long类型,13位时间戳,精确到秒)
示例
{
"header": {
"event_type": "string",
"timestamp": "string",
"to_app": "string"
},
"event": {
"business_id": "string",
"change_type": "string",
"business_opp_number": "string",
"business_name": "string",
"company_id": "string",
"stage": 0,
"owner_id": "string",
"except_amount": 0,
"except_date": "string",
"create_user_id": "string",
"create_time": 0
}
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{
"header": {
"event_type": "opportunity_update",
"time_stamp": "1611580672000",
"to_app": "wloa4376fe67dc041d474a79513ed70ae3db"
},
"event": {
"business_id": "JVjF70AGsxR4aGkD2y1g9RAwUc1ZJHH-xI6y1vt-bRI",
"business_name": "但是方法",
"company_id": "HOKTGl4htLn_mcun4QF5G0HVZA9JcVFIwZi1vFte4YU",
"stage": 1,
"owner_id": "wOivoLRIP1CEl_ExUVRZigumBZ9CufTl-Mx4MPkQzpY",
"except_amount": 11,
"except_date": "2022-04-26",
"create_user_id": "wOivoLRIP1CEl_ExUVRZigumBZ9CufTl-Mx4MPkQzpY",
"create_time": 1650866122000
}
}
最后修改时间: 2 年前