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

alibaba.alihealth.adolescent.health.record.update (眼健康档案更新)

眼健康档案更新

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
eye_health_record_request EyeHealthRecordRequest 可选 入参
  • └ check_type
  • String
  • 可选
  • HOME_TYPE
  • 检查类型
  • └ ding_talk_token
  • String
  • 可选
  • 13415toke
  • token
  • └ wear_glasses
  • Boolean
  • 可选
  • true
  • 是否戴眼镜
  • └ astigmatism_angle_right
  • String
  • 可选
  • 1
  • 散光角度右
  • └ naked_eyesight_right
  • String
  • 可选
  • 4.9
  • 裸眼视力右
  • └ ehr_id
  • String
  • 必须
  • 134
  • 档案ID
  • └ column_mirror_left
  • String
  • 可选
  • 0.1
  • 柱镜左
  • └ app_channel
  • String
  • 可选
  • ALIPAY
  • └ astigmatism_angle_left
  • String
  • 可选
  • 0.2
  • 散光左
  • └ column_mirror_right
  • String
  • 可选
  • 0.3
  • 柱镜右
  • └ taobao_user_id
  • Number
  • 可选
  • 1324525
  • 淘宝userId
  • └ eyes_s_e_left
  • String
  • 可选
  • 0.2
  • 球镜左
  • └ eye_axis_left
  • String
  • 可选
  • 0.2
  • 轴镜左
  • └ eyes_s_e_right
  • String
  • 可选
  • 0.3
  • 球镜右
  • └ pupil_distance
  • String
  • 可选
  • 4.9
  • 轴距
  • └ record_date
  • String
  • 可选
  • 2021-12-12
  • 检查日期
  • └ eye_axis_right
  • String
  • 可选
  • 0.1
  • 轴镜右
  • └ correction_vision_left
  • String
  • 可选
  • 4.8
  • 矫正视力左
  • └ naked_eyesight_left
  • String
  • 可选
  • 4.5
  • 裸眼视力左
  • └ member_id
  • String
  • 可选
  • 134
  • 成员iD
  • └ correction_vision_right
  • String
  • 可选
  • 0.3
  • 矫正视力右
  • └ version_id
  • Number
  • 必须
  • 1435
  • 版本号

响应参数

名称 类型 示例值 描述
result CommonResult 结果
  • └ data
  • Number
  • 3345
  • 档案ID
  • └ msg_info
  • String
  • MESSAGE
  • 信息
  • └ msg_code
  • String
  • SUCCESS
  • code

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthAdolescentHealthRecordUpdateRequest req = new AlibabaAlihealthAdolescentHealthRecordUpdateRequest();
AlibabaAlihealthAdolescentHealthRecordUpdateRequest.EyeHealthRecordRequest obj1 = new AlibabaAlihealthAdolescentHealthRecordUpdateRequest.EyeHealthRecordRequest();
obj1.setCheckType("HOME_TYPE");
obj1.setDingTalkToken("13415toke");
obj1.setWearGlasses(true);
obj1.setAstigmatismAngleRight("1");
obj1.setNakedEyesightRight("4.9");
obj1.setEhrId("134");
obj1.setColumnMirrorLeft("0.1");
obj1.setAppChannel("ALIPAY");
obj1.setAstigmatismAngleLeft("0.2");
obj1.setColumnMirrorRight("0.3");
obj1.setTaobaoUserId(1324525L);
obj1.setEyesSELeft("0.2");
obj1.setEyeAxisLeft("0.2");
obj1.setEyesSERight("0.3");
obj1.setPupilDistance("4.9");
obj1.setRecordDate("2021-12-12");
obj1.setEyeAxisRight("0.1");
obj1.setCorrectionVisionLeft("4.8");
obj1.setNakedEyesightLeft("4.5");
obj1.setMemberId("134");
obj1.setCorrectionVisionRight("0.3");
obj1.setVersionId(1435L);
req.setEyeHealthRecordRequest(obj1);
AlibabaAlihealthAdolescentHealthRecordUpdateResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_adolescent_health_record_update_response>
    <result>
        <data>3345</data>
        <msg_info>MESSAGE</msg_info>
        <msg_code>SUCCESS</msg_code>
    </result>
</alibaba_alihealth_adolescent_health_record_update_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

返回
顶部