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

alibaba.alihealth.cep.brand.list (DDI厂商查询已授权品牌信息)

DDI厂商查询已授权品牌信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
brand_request BrandInfoRequest 必须 查询请求参数
  • └ page_size
  • Number
  • 可选
  • 20
  • 每页记录数
  • └ page_no
  • Number
  • 可选
  • 1
  • 页码

响应参数

名称 类型 示例值 描述
result ResponseResult 返回数据
  • result
  • PageResponse
  • 已授权品牌分页信息
  • result
  • BrandInfoDTO []
  • 已授权品牌列表
  • └ id
  • Number
  • 1
  • 品牌id
  • └ name
  • String
  • 拜耳测试
  • 品牌名称
  • └ total_count
  • Number
  • 100
  • 总数量
  • └ page_size
  • Number
  • 20
  • 每页大小
  • └ total_page
  • Number
  • 1
  • 总页码
  • └ current_page
  • Number
  • 5
  • 当前页码
  • └ success
  • String
  • true
  • 是否成功
  • └ error_code
  • String
  • 11
  • 错误码
  • └ error_msg
  • String
  • 参数错误
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthCepBrandListRequest req = new AlibabaAlihealthCepBrandListRequest();
AlibabaAlihealthCepBrandListRequest.BrandInfoRequest obj1 = new AlibabaAlihealthCepBrandListRequest.BrandInfoRequest();
obj1.setPageSize(20L);
obj1.setPageNo(1L);
req.setBrandRequest(obj1);
AlibabaAlihealthCepBrandListResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_cep_brand_list_response>
    <result>
        <result>
            <result>
                <brand_info_d_t_o>
                    <id>1</id>
                    <name>拜耳测试</name>
                </brand_info_d_t_o>
            </result>
            <total_count>100</total_count>
            <page_size>20</page_size>
            <total_page>1</total_page>
            <current_page>5</current_page>
        </result>
        <success>true</success>
        <error_code>11</error_code>
        <error_msg>参数错误</error_msg>
    </result>
</alibaba_alihealth_cep_brand_list_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

返回
顶部