客户商机变更推送
信息
客户商机修改内容如下时, 触发修改事件:
1.
2.
3.
4.
5.
备注
1.
2.
推送数据
appId、timestamp、version、sign,详见推送数据格式约定
Body
Base64 编码加密数据,加密方式详见推送数据格式约定。加密前数据为UTF8编码JSON
{
"type": "opportunity_info",
"noise": -770105336770613529,
"msgId": 1693191,
"content": {
"changeType": "edit_opportunity",
"cosId": "517824835971136",
"customerId": "517711055564736",
"salesId": "412770248998976",
"opportunityId": "413255622797376",
"opportunityName": "空调10",
"stateName": "阶段一",
"qwSalesId": "SuiBian",
"mobiles": "18512344129,18512344130",
"stageId":"505841690554560",
"stageAt":"2023-01-14 12:06:02"
"opportunityCommodityList": [
"skuId":"508101855864896",
"spuId:"508101855801408",
"spuName":"电话"
]
}
参数说明
JSON字段 | 类型 | 可空 | 说明 |
---|---|---|---|
noise | 数字 | 否 | 随机数。接收方成功接收处理消息后需要在响应中回复此值。 |
type | 字符串 | 否 | 消息类型。此类型消息固定为 opportunity_info |
msgId | 数字 | 否 | 消息id。 |
content | 对象 | 否 | 消息内容 |
content.changeType | 字符串 | 否 | 消息类型,新增商机add_opportunity; 修改商机edit_opportunity; 删除商机del_opportunity |
content.cosId | 数字 | 否 | 客户商机关系id |
content.customerId | 数字 | 否 | 客户在探马的唯一标识 |
content.opportunityId | 数字 | 否 | 商机id |
content.opportunityName | 字符串 | 否 | 商机名称 |
content.stateName | 字符串 | 否 | 商机阶段名称 |
content.qwSalesId | 字符串 | 否 | 员工在企微的唯一标识 |
content.mobiles | 字符串 | 是 | 客户手机号多个用【英文逗号】分割 |
content.stageId | 数字 | 否 | 商机阶段 |
content.stageAt | 字符串 | 否 | 进入该商机时间 |
content.opportunityCommodityList | 数组 | 是 | 商品信息【skuId 规格id spuId 商品id spuName 商品名称】 |
参见响应约定
修改于 2023-02-28 03:46:02