注意:以下文档只适用于TOP接口,请谨慎使用!

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

alibaba.alihealth.dental.item.list (ISV获取口腔标品列表)

ISV获取口腔标品列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
need_test_item Boolean 可选 false
  • 默认值:false
  • 是否需要测试商品

    响应参数

    名称 类型 示例值 描述
    result MtopResult result result
    • goods
    • NormalGoodsVo []
    • model_list
    • model
    • └ item_id
    • Number
    • 12
    • 标品ID
    • └ item_name
    • String
    • 标品名称
    • 标品名称
    • └ cost_price
    • String
    • 12
    • 成本价,单位元
    • └ sold_price
    • String
    • 123
    • 售价,单位元
    • └ msg_code
    • String
    • 200
    • 200
    • └ msg_info
    • String
    • 成功
    • 成功
    • └ success
    • Boolean
    • true
    • true

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AlibabaAlihealthDentalItemListRequest req = new AlibabaAlihealthDentalItemListRequest();
    req.setNeedTestItem(false);
    AlibabaAlihealthDentalItemListResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <alibaba_alihealth_dental_item_list_response>
        <result>
            <goods>
                <normal_goods_vo>
                    <item_id>12</item_id>
                    <item_name>标品名称</item_name>
                    <cost_price>12</cost_price>
                    <sold_price>123</sold_price>
                </normal_goods_vo>
            </goods>
            <msg_code>200</msg_code>
            <msg_info>成功</msg_info>
            <success>true</success>
        </result>
    </alibaba_alihealth_dental_item_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

    返回
    顶部