文档中心 > API类目 > 阿里巴巴招聘系统API

alibaba.aidc.recruit.campus.exam.finish (AIDC-笔试完成回调)

AIDC-笔试完成回调

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
exam NiuKeExamParam 可选 试卷信息
  • └ score
  • String
  • 可选
  • 12.4
  • 成绩
  • └ test_finish_time
  • Number
  • 可选
  • 1582780059000
  • 完成时间
  • └ category_scores
  • String []
  • 可选
  • ["132", "3546"]
  • 各项分数
  • └ paper_name
  • String
  • 可选
  • 试卷名称
  • 试卷名称
  • └ paper_score
  • Number
  • 可选
  • 60
  • 得分
  • └ is_cheated
  • String
  • 可选
  • true
  • 是否作弊
  • └ result_pdf_url
  • String
  • 可选
  • fdsaas
  • 报告地址
  • └ test_start_time
  • Number
  • 可选
  • 1582780059000
  • 开始时间
  • └ key
  • String
  • 可选
  • 234234
  • 考试生id
  • └ paper_id
  • Number
  • 可选
  • 123
  • 试卷id
  • └ status
  • String
  • 可选
  • DOING
  • 状态
  • └ paper_type
  • Number
  • 可选
  • 1
  • 试卷类型: 1.普通笔试,2.ai面试
  • └ report_info
  • String
  • 可选
  • {}
  • 用于后续扩展字段,需要一些结构化信息
  • └ online_test_result_url
  • String
  • 可选
  • abc.com
  • 在线报告地址

响应参数

名称 类型 示例值 描述
result String success 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAidcRecruitCampusExamFinishRequest req = new AlibabaAidcRecruitCampusExamFinishRequest();
AlibabaAidcRecruitCampusExamFinishRequest.NiuKeExamParam obj1 = new AlibabaAidcRecruitCampusExamFinishRequest.NiuKeExamParam();
obj1.setScore("12.4");
obj1.setTestFinishTime(1582780059000L);
obj1.setCategoryScores(""132", "3546"");
obj1.setPaperName("试卷名称");
obj1.setPaperScore(60L);
obj1.setIsCheated("true");
obj1.setResultPdfUrl("fdsaas");
obj1.setTestStartTime(1582780059000L);
obj1.setKey("234234");
obj1.setPaperId(123L);
obj1.setStatus("DOING");
obj1.setPaperType(1L);
obj1.setReportInfo("{}");
obj1.setOnlineTestResultUrl("abc.com");
req.setExam(obj1);
AlibabaAidcRecruitCampusExamFinishResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_aidc_recruit_campus_exam_finish_response>
    <result>success</result>
</alibaba_aidc_recruit_campus_exam_finish_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部