注意:事件推送请求默认都为post,接收到平台推送后,需要在8s内返回json格式,{"code": "200"},否则都视为推送失败,会有重推逻辑。
设置->对接中心->工单事件->新建->选择事件类型->填写推送地址->保存
字段名称 | 字段类型 | 字段描述 |
accountId | string | 账户编号 |
createAgent | string | 创建座席工号 |
createTime | string | 创建时间 例如:"2023-12-05 10:13:05" |
eventType | string | 推送事件类型:创建工单CreateTicketEvent |
eventUniqueId | string | 推送事件唯一ID |
orderNo | string | 工单编号 |
templateId | string | 流程模型ID |
templateName | string | 流程模型名称 |
orderStatus | string | 工单状态待领取:10,待处理:20,完成:30,终止:40 |
activityName | String | 当前流程节点名称 |
eventTime | string | 事件时间 |
data | JSON | 工单字段内容 |
{"orderNo":"2023122800007","data":{"文本2":"","文本1":""},"orderId":"752711550362189825","activityName":"处理节点","orderStatus":"20","eventUniqueId":"cc10d97a-00cb-416b-a609-27959c0d79f0","eventType":"CreateTicketEvent","templateId":"752398099581263872","createAgent":"8005","accountId":"1090","activityId":"celldc2478440fbf41f3a1b8e250230a3359","createTime":"2023-12-28 16:19:19","templateName":"工单任一规则的动态表单","eventTime":"2023-12-28 16:19:22"}
字段名称 | 字段类型 | 字段描述 |
accountId | string | 账户编号 |
createAgent | string | 创建座席工号 |
createTime | string | 创建时间 例如:"2023-12-05 10:13:05" |
eventType | string | 推送事件类型:修改工单UpdateTicketEvent |
eventUniqueId | string | 推送事件唯一ID |
orderNo | string | 工单编号 |
templateId | string | 流程模型ID |
templateName | string | 流程模型名称 |
orderStatus | string | 工单状态待领取:10,待处理:20,完成:30,终止:40 |
activityName | String | 当前流程节点名称 |
eventTime | string | 事件时间 |
data | JSON | 工单字段内容 |
currentAgent | JSON | 当前处理座席的信息,包含第三方系统字段:crmId,座席名称:name,座席工号:workId |
{"orderNo":"2024080600002","data":{"附件":"","型号":"123333","产品线":""},"orderId":"833165687197548545","activityName":"处理节点","orderStatus":"20","eventUniqueId":"e3e4f538-1595-4adc-aa4d-9068a8b2f31f","eventType":"CreateTicketEvent","templateId":"822622278211620864","currentAgent":{"crmId":"crmid","name":"sss9002~","workId":"9002","master":"691521418588135424"},"createAgent":"sss9002~[9002]","accountId":"1090","activityId":"celldc2478440fbf41f3a1b8e250230a3359","createTime":"2024-08-06 16:35:20","templateName":"自助报修工单","eventTime":"2024-08-06 16:35:23"}
字段名称 | 字段类型 | 字段描述 |
accountId | string | 账户编号 |
createAgent | string | 创建座席工号 |
createTime | string | 创建时间 例如:"2023-12-05 10:13:05" |
eventType | string | 推送事件类型:结束工单EndTicketEvent |
eventUniqueId | string | 推送事件唯一ID |
orderNo | string | 工单编号 |
templateId | string | 流程模型ID |
templateName | string | 流程模型名称 |
orderStatus | string | 工单状态待领取:10,待处理:20,完成:30,终止:40 |
activityName | String | 当前流程节点名称 |
eventTime | string | 事件时间 |
data | JSON | 工单字段内容 |
{"orderNo":"2024042300001","data":{"文本":"66","单选":"咨询"},"orderId":"795191701444227073","activityName":"处理节点1","orderStatus":"20","eventUniqueId":"f875467f-3f28-431e-bbc7-0965d7ce1a88","eventType":"CommitTicketEvent","templateId":"747187117782466560","createAgent":"hhh[8073]","accountId":"1019","activityId":"cell412def6c23734267b0ef064d982ae356","createTime":"2024-04-23 21:40:16","templateName":"多级流转","eventTime":"2024-04-23 21:41:25"}
字段名称 | 字段类型 | 字段描述 |
accountId | string | 账户编号 |
createAgent | string | 创建座席工号 |
createTime | string | 创建时间 例如:"2023-12-05 10:13:05" |
eventType | string | 推送事件类型:结束工单EndTicketEvent |
eventUniqueId | string | 推送事件唯一ID |
orderNo | string | 工单编号 |
templateId | string | 流程模型ID |
templateName | string | 流程模型名称 |
orderStatus | string | 工单状态待领取:10,待处理:20,完成:30,终止:40 |
activityName | String | 当前流程节点名称 |
eventTime | string | 事件时间 |
data | JSON | 工单字段内容 |
{"orderNo":"2023122800007","data":{"文本2":"","文本1":""},"orderId":"752711550362189825","activityName":"处理节点","orderStatus":"20","eventUniqueId":"cc10d97a-00cb-416b-a609-27959c0d79f0","eventType":"EndTicketEvent","templateId":"752398099581263872","createAgent":"8005","accountId":"1090","activityId":"celldc2478440fbf41f3a1b8e250230a3359","createTime":"2023-12-28 16:19:19","templateName":"工单任一规则的动态表单","eventTime":"2023-12-28 16:19:22"}