| 事件属性 | 详情 |
|---|---|
| 事件类型 | contract.contract.cooperation_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 | - | - |
| ∟cooperation_event_code | Integer | 协商事件code |
| ∟cooperation_event_name | String | 协商事件名 |
| ∟contract_id | String | 合同id |
| ∟operator_user_id | - | 操作人id |
| ∟union_id | String | 用户的 union id |
| ∟user_id | String | 用户的 user id |
| ∟open_id | String | 用户的open id |
| ∟app_id | String | app_id |
| ∟extra_info | String | 补充信息 |
| 协商事件类型 | cooperation_event_code | cooperation_event_name |
|---|---|---|
| INIT | 1 | 发起协商 |
| JOIN | 2 | 加入协商者 |
| ADD_CAUSE | 3 | 添加附件 |
| COMPLETE | 8 | 完成协商 |
| CANCEL | 9 | 取消协商 |
| TEMPLATE_INIT | 11 | 模板修改文本后发起协商 |
| CREATE_AFTER_REJECT | 12 | 审批拒绝后发起协商 |
| CREATE_AFTER_REVOKE | 13 | 申请撤回后发起协商 |
| CREATE_BY_APPROVER | 14 | 审批人发起协商 |
| AGAIN | 15 | 再次协商 |
| QUIT | 21 | 退出协商 |
| TRANSFER | 22 | 转办协商 |
| REMOVE | 23 | 移出协商 |
| READ | 24 | 协商参与者查看协商 |
| CONFIRM | 25 | 确认协商 |
| UPLOAD | 31 | 更新文件 |
| DOWNLOAD | 32 | 下载文件 |
{
"schema": "2.0",
"header": {
"event_id": "5e3702a84e847582be8db7fb73283c02",
"event_type": "contract.contract.cooperation_v1",
"create_time": "1608725989000",
"token": "rvaYgkND1GOiu5MM0E1rncYC6PLtF7JV",
"app_id": "cli_9f5343c580712544",
"tenant_key": "2ca1d211f64f6438"
},
"event": {
"cooperation_event_code": 1,
"cooperation_event_name": "发起协商",
"cooperation_id": "77777777777777",
"operator_user_id": {
"union_id": "on_8ed6aa67826108097d9ee143816345",
"user_id": "e33ggbyz",
"open_id": "ou_84aad35d084aa403a838cf73ee18467"
},
"contract_id": "777777778888",
"contract_number": "CT0001",
"extra_info": "{}"
}
}