| 项目 | 详情 |
|---|---|
| 事件类型 | contract.contract.info_change_v1 |
| 权限要求 | 获取合同信息 |
| 推送方式 | Webhook |
| 触发条件 | 合同发起审批后的信息变更时触发 |
| 名称 | 类型 | 描述 |
|---|---|---|
| schema | String | 事件模式 |
| header | event_header | 事件头 |
| - event_id | String | 事件 ID |
| - event_type | String | 事件类型 |
| - create_time | String | 事件创建时间戳(单位:毫秒) |
| - token | String | 事件 Token |
| - app_id | String | 应用 ID |
| - tenant_key | String | 租户 Key |
| event | - | - |
| - information_change_code | Integer | 合同信息变更编码 - 1:基础信息变更 - 2:对方信息变更 - 3:我方信息变更 - 4:支付计划信息变更 - 5:自定义信息变更 - 6:合同归属人变更 - 7:合同状态变更 - 8:合同删除 |
| - information_change_name | String | 合同变更信息名称 |
| - business_type_code | Integer | 合同业务类型编码 - 0:合同申请 - 2:补充协议 - 3:合同终止 |
| - contract_id | String | 合同id |
| - group_id | String | 分组id |
| - contract_number | String | 合同编号 |
| - handover_info | handover_info | 交接信息(仅 information_change_code=6 时推送) |
| - - source_user_id | user_id(事件的用户id) | 交接人id |
| - - - open_id | String | 用户的open id |
| - - - user_id | String | 用户的user id |
| - - - union_id | String | 用户的union id |
| - - target_user_id | user_id(事件的用户id) | 被交接人id |
| - - - open_id | String | 用户的open id |
| - - - user_id | String | 用户的user id |
| - - - union_id | String | 用户的union id |
| - - operator_user_id | user_id(事件的用户id) | 操作人id |
| - - - open_id | String | 用户的open id |
| - - - user_id | String | 用户的user id |
| - - - union_id | String | 用户的union id |
| - - operation_time | String | 操作时间(时间戳,单位:秒) |
| - extra_info | - | - |
{
"schema": "2.0",
"header": {
"tenant_key": "2e2e4e9a918f1650",
"create_time": "1655213580000",
"token": "Up1pZ8R4j4bXos0Ti7Y3gdnl20qc0gMK",
"event_id": "808ce3797f4311b6c976ff35fd4312c1",
"event_type": "contract.contract.info_change_v1",
"app_id": "cli_a2dfce5863ba100e"
},
"event": {
"business_type_code": 0,
"contract_id": "7109086882906079243",
"information_change_name": "合同归属人变更",
"handover_info": {
"source_user_id": {
"open_id": "ou_efd247f4e83f3c651a041a91f09617ca",
"user_id": "d5g71fbf",
"union_id": "on_14fa7b162bf4bd4056fc068a42649c4a"
},
"target_user_id": {
"open_id": "ou_a8f671a2f8df97cf1e3d0f5c7dc8a87f",
"user_id": "bc367a68",
"union_id": "on_fa8c7596956b8ad9a09dcfa6f5ca1295"
},
"operation_time": "1655213580",
"operator_user_id": {
"open_id": "",
"user_id": "d5g71fbf",
"union_id": "on_14fa7b162bf4bd4056fc068a42649c4a"
}
},
"information_change_code": 6,
"contract_number": "PLATFORMV1000382",
"group_id": "7109086882906095627"
}
}