文档中心 > API类目 > 阿里健康-本地医疗-青少年健康

alibaba.alihealth.adolescent.health.exam.material.list.get (获取考试资料)

获取考试资料

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
exam_material_request ExamMaterialRequest 可选 request
  • └ exam_id
  • Number
  • 必须
  • 2
  • 考试ID

响应参数

名称 类型 示例值 描述
common_result CommonResult result 返回值
  • data
  • ExamMaterialListVO
  • data
  • 返回数据
  • └ end_date
  • String
  • 2021-10-10
  • 截止日期
  • exam_material_v_o_s
  • ExamMaterialVO []
  • material
  • 考试资料
  • └ title
  • String
  • 青少年眼科
  • 青少年眼科课件题目
  • └ subtitle
  • String
  • 近视自查
  • 子标题
  • └ url
  • String
  • https://aliba
  • 文章地址
  • └ sort
  • Number
  • 1
  • 排序
  • └ subject
  • String
  • 眼科
  • 主题
  • └ exam_id
  • Number
  • 2
  • 考试ID
  • └ picture_url
  • String
  • http://url
  • 图片地址
  • └ out_code
  • String
  • agagahh
  • code
  • └ end_days
  • Number
  • 2
  • 剩余天数
  • └ exam_title
  • String
  • 青少年近视考试
  • 考试标题
  • └ msg_info
  • String
  • 请求成功
  • 返回信息
  • └ msg_code
  • String
  • SUCCESS
  • 返回code

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthAdolescentHealthExamMaterialListGetRequest req = new AlibabaAlihealthAdolescentHealthExamMaterialListGetRequest();
AlibabaAlihealthAdolescentHealthExamMaterialListGetRequest.ExamMaterialRequest obj1 = new AlibabaAlihealthAdolescentHealthExamMaterialListGetRequest.ExamMaterialRequest();
obj1.setExamId(2L);
req.setExamMaterialRequest(obj1);
AlibabaAlihealthAdolescentHealthExamMaterialListGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_adolescent_health_exam_material_list_get_response>
    <common_result>
        <data>
            <end_date>2021-10-10</end_date>
            <exam_material_v_o_s>
                <exam_material_v_o>
                    <title>青少年眼科</title>
                    <subtitle>近视自查</subtitle>
                    <url>https://aliba</url>
                    <sort>1</sort>
                    <subject>眼科</subject>
                    <exam_id>2</exam_id>
                    <picture_url>http://url</picture_url>
                    <out_code>agagahh</out_code>
                </exam_material_v_o>
            </exam_material_v_o_s>
            <end_days>2</end_days>
            <exam_title>青少年近视考试</exam_title>
        </data>
        <msg_info>请求成功</msg_info>
        <msg_code>SUCCESS</msg_code>
    </common_result>
</alibaba_alihealth_adolescent_health_exam_material_list_get_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

返回
顶部