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

alibaba.alihealth.adolescent.health.doctor.list.get (青少年健康获取医生列表)

青少年健康获取医生列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
query_doctor_request QueryDoctorRequest 可选 入参
  • └ taobao_user_id
  • Number
  • 可选
  • 123124
  • 淘宝userId
  • └ corp_id
  • String
  • 可选
  • 34151fgs
  • 钉钉cropId
  • └ city_code
  • String
  • 可选
  • 330100
  • 城市code
  • └ app_channel
  • String
  • 可选
  • ALIPAY
  • └ jump_channel
  • String
  • 可选
  • ALIPAY
  • 跳往哪个端

响应参数

名称 类型 示例值 描述
result CommonResult result 返回结果
  • data
  • DoctorResponse
  • data
  • 数据
  • doctor_d_t_o_list
  • DoctorDTO []
  • 找医生
  • 医生信息
  • └ doctor_id
  • String
  • 342402
  • 医生id
  • └ avator
  • String
  • https://ossgw.alicdn.com/o2ooss/doc/2978469394/492d5ac871b3437d86350dcbc3dff1a5.jpg@29-266-691-691a
  • 头像
  • └ name
  • String
  • 测试
  • 姓名
  • └ title
  • String
  • 主任医生
  • 职称
  • └ depart
  • String
  • 眼科
  • 科室
  • └ tag
  • String
  • 三甲
  • 医院等级
  • └ hospital
  • String
  • 中日友好医院
  • 医院名称
  • └ skills
  • String
  • 皮肤病
  • 擅长的技能
  • └ price
  • String
  • 10.2
  • 价格
  • └ origin_price
  • String
  • 100.0
  • 原始架构
  • └ hint
  • String
  • 2
  • 剩余次数
  • └ doctor_type
  • String
  • OWN_DOCTOR
  • 医生类型
  • └ url
  • String
  • https://ali-inc.com
  • 更多医生的链接
  • └ msg_info
  • String
  • MESSAGE
  • 返回信息
  • └ msg_code
  • String
  • SUCCESS
  • 返回code

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthAdolescentHealthDoctorListGetRequest req = new AlibabaAlihealthAdolescentHealthDoctorListGetRequest();
AlibabaAlihealthAdolescentHealthDoctorListGetRequest.QueryDoctorRequest obj1 = new AlibabaAlihealthAdolescentHealthDoctorListGetRequest.QueryDoctorRequest();
obj1.setTaobaoUserId(123124L);
obj1.setCorpId("34151fgs");
obj1.setCityCode("330100");
obj1.setAppChannel("ALIPAY");
obj1.setJumpChannel("ALIPAY");
req.setQueryDoctorRequest(obj1);
AlibabaAlihealthAdolescentHealthDoctorListGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_adolescent_health_doctor_list_get_response>
    <result>
        <data>
            <doctor_d_t_o_list>
                <doctor_d_t_o>
                    <doctor_id>342402</doctor_id>
                    <avator>https://ossgw.alicdn.com/o2ooss/doc/2978469394/492d5ac871b3437d86350dcbc3dff1a5.jpg@29-266-691-691a</avator>
                    <name>测试</name>
                    <title>主任医生</title>
                    <depart>眼科</depart>
                    <tag>三甲</tag>
                    <hospital>中日友好医院</hospital>
                    <skills>皮肤病</skills>
                    <price>10.2</price>
                    <origin_price>100.0</origin_price>
                    <hint>2</hint>
                </doctor_d_t_o>
            </doctor_d_t_o_list>
            <doctor_type>OWN_DOCTOR</doctor_type>
            <url>https://ali-inc.com</url>
        </data>
        <msg_info>MESSAGE</msg_info>
        <msg_code>SUCCESS</msg_code>
    </result>
</alibaba_alihealth_adolescent_health_doctor_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

返回
顶部