文档中心 > API类目 > 体检机构API

alibaba.alihealth.healtharchive.examination.rich.getinstitution (获取机构信息)

获取瑞慈机构信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
city_name String 可选 上海 城市名

响应参数

名称 类型 示例值 描述
result Boolean true 调用是否成功
info String 错误发生 失败时返回相关信息
content_list Content [] 具体机构信息,调用失败时可能没有该字段
  • └ area
  • String
  • 华南区
  • 机构所属区域
  • └ province
  • String
  • 广东省
  • 机构所在省份
  • └ city
  • String
  • 深圳
  • 机构所在城市
  • └ phone
  • String
  • 0755-86510055
  • 机构联系电话
  • └ address
  • String
  • 深圳市南山区松坪山路1号源兴科技大厦东座四楼
  • 机构具体地址
  • └ name
  • String
  • 深圳瑞慈南山体检中心
  • 机构名称
  • └ id
  • String
  • 10
  • 机构id
  • └ point_y
  • String
  • 113.958445
  • 经纬度
  • └ point_x
  • String
  • 22.559585
  • 经纬度

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthHealtharchiveExaminationRichGetinstitutionRequest req = new AlibabaAlihealthHealtharchiveExaminationRichGetinstitutionRequest();
req.setCityName("上海");
AlibabaAlihealthHealtharchiveExaminationRichGetinstitutionResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_healtharchive_examination_rich_getinstitution_response>
    <result>true</result>
    <info>错误发生</info>
    <content_list>
        <content>
            <area>华南区</area>
            <province>广东省</province>
            <city>深圳</city>
            <phone>0755-86510055</phone>
            <address>深圳市南山区松坪山路1号源兴科技大厦东座四楼</address>
            <name>深圳瑞慈南山体检中心</name>
            <id>10</id>
            <point_y>113.958445</point_y>
            <point_x>22.559585</point_x>
        </content>
    </content_list>
</alibaba_alihealth_healtharchive_examination_rich_getinstitution_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

返回
顶部