文档中心 > API类目 > 阿里健康公益线API

alibaba.alihealth.pw.rehabilitation.services.submit (康复治疗信息提交接口)

康复治疗信息提交接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
body SubmitRehabilitationInfoRequest 必须 入参
  • └ symptoms
  • String
  • 必须
  • 腰疼
  • 疾病
  • └ doctor_id
  • String
  • 必须
  • 01245546005237712680
  • 医生id
  • └ effect
  • String
  • 必须
  • 治愈
  • 效果
  • └ sex
  • Number
  • 必须
  • 1
  • 性别
  • └ service_items
  • String
  • 必须
  • 血压
  • 服务项目
  • └ device_identification
  • String
  • 必须
  • 123
  • 设备唯一标识
  • └ satisfaction
  • String
  • 必须
  • 非常满意
  • 满意度
  • └ user_name
  • String
  • 必须
  • 淘小二
  • 用户姓名
  • └ user_id
  • String
  • 必须
  • 130xxxxxxxxxxxxxxx
  • 身份证号码
  • └ service_time
  • String
  • 必须
  • 2023-04-10 22:00:00
  • 服务时间
  • └ age
  • Number
  • 必须
  • 23
  • 年龄

响应参数

名称 类型 示例值 描述
result ResponseMessage 出参
  • └ code
  • String
  • PARAM_ERROR
  • 状态码
  • data
  • SubmitMeasureInfoRespose
  • 数据
  • └ success
  • Boolean
  • TURE
  • 是否成功
  • └ message
  • String
  • 参数异常
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthPwRehabilitationServicesSubmitRequest req = new AlibabaAlihealthPwRehabilitationServicesSubmitRequest();
AlibabaAlihealthPwRehabilitationServicesSubmitRequest.SubmitRehabilitationInfoRequest obj1 = new AlibabaAlihealthPwRehabilitationServicesSubmitRequest.SubmitRehabilitationInfoRequest();
obj1.setSymptoms("腰疼");
obj1.setDoctorId("01245546005237712680");
obj1.setEffect("治愈");
obj1.setSex(1L);
obj1.setServiceItems("血压");
obj1.setDeviceIdentification("123");
obj1.setSatisfaction("非常满意");
obj1.setUserName("淘小二");
obj1.setUserId("130xxxxxxxxxxxxxxx");
obj1.setServiceTime("2023-04-10 22:00:00");
obj1.setAge(23L);
req.setBody(obj1);
AlibabaAlihealthPwRehabilitationServicesSubmitResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_pw_rehabilitation_services_submit_response>
    <result>
        <code>PARAM_ERROR</code>
        <data>
            <success>TURE</success>
        </data>
        <message>参数异常</message>
    </result>
</alibaba_alihealth_pw_rehabilitation_services_submit_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

返回
顶部