Appearance
考试消息推送
| 拥有此API的权限集并订阅此消息推送 |
|---|
| 考试管理-查询 |
推送参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| type | 是 | String | 推送类型:examination |
| app_id | 是 | String | 店铺id |
| message_id | 是 | String | 消息ID |
| retry_times | 是 | int | 重试次数 |
| xe_data | 是 | Object | 业务数据 |
xe_data 参数结构
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| action | 是 | String | 事件:commit—提交; review—批阅 |
| app_id | 是 | String | 店铺ID |
| user_id | 是 | String | 用户ID |
| exam_id | 是 | String | 考试ID |
| score | 是 | String | 考试分数 |
| join_id | 是 | String | 参加考试分配的ID,用于查成绩详情用 |
特殊说明
推送时刻:考试提交和批阅时
推送解密后示
<doc>
<type>examination</type>
<app_id>appAKLWLitnxxxx</app_id>
<message_id>20230615_1669013687304xxxxxx</message_id>
<retry_times>0</retry_times>
<xe_data>
<action>commit</action>
<app_id>appAKLWLitnxxxx</app_id>
<exam_id>ex_636cc8d706353_4YqGxxxx</exam_id>
<join_id>uexam_636cc93884c64_aifFvuxxxx</join_id>
<score>0</score>
<user_id>u_60e2a8344959a_qnwNLrxxxx</user_id>
</xe_data>
</doc>