文档中心 > API类目 > 阿里健康随访

alibaba.alihealth.followup.tags.get (医生查询标签列表)

查询医生的标签列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
request1 FollowUpTagRequest 可选 入参
  • └ doctor_id
  • Number
  • 必须
  • 4717853024878123
  • 医生ID
  • └ page_no
  • Number
  • 可选
  • 1
  • 第几页
  • └ ding_corp_id
  • Number
  • 必须
  • 1636873811356221
  • 集团ID
  • └ page_size
  • Number
  • 可选
  • 20
  • 每页大小
auth_token String 可选 9eae09db243df99bd67af033decfd257 token用于安全验证

响应参数

名称 类型 示例值 描述
result Result 接口返回model
  • model
  • Page
  • model
  • results
  • TagsDo []
  • 结果类
  • └ patient_brief
  • String
  • 该标签简要患者名
  • └ tag_code
  • Number
  • 1048576
  • 标签编码
  • └ tag_type
  • Number
  • 2
  • 标签类型
  • └ patient_num
  • Number
  • 0
  • 该标签患者数量
  • └ tag_name
  • String
  • 新标签
  • 标签名
  • └ total_count
  • Number
  • -1
  • 分页总记录数
  • └ page_no
  • Number
  • 1
  • 第几页
  • └ page_size
  • Number
  • 2
  • 每页大小
  • └ msg_code
  • String
  • 错误码
  • └ msg_info
  • String
  • 错误信息
  • └ success
  • Boolean
  • false
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthFollowupTagsGetRequest req = new AlibabaAlihealthFollowupTagsGetRequest();
AlibabaAlihealthFollowupTagsGetRequest.FollowUpTagRequest obj1 = new AlibabaAlihealthFollowupTagsGetRequest.FollowUpTagRequest();
obj1.setDoctorId(4717853024878123L);
obj1.setPageNo(1L);
obj1.setDingCorpId(1636873811356221L);
obj1.setPageSize(20L);
req.setRequest1(obj1);
req.setAuthToken("9eae09db243df99bd67af033decfd257");
AlibabaAlihealthFollowupTagsGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_followup_tags_get_response>
    <result>
        <model>
            <results>
                <tags_do>
                    <patient_brief></patient_brief>
                    <tag_code>1048576</tag_code>
                    <tag_type>2</tag_type>
                    <patient_num>0</patient_num>
                    <tag_name>新标签</tag_name>
                </tags_do>
            </results>
            <total_count>-1</total_count>
            <page_no>1</page_no>
            <page_size>2</page_size>
        </model>
        <msg_code></msg_code>
        <msg_info></msg_info>
        <success>false</success>
    </result>
</alibaba_alihealth_followup_tags_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

返回
顶部