alipay.baoxian.inscheckquery.barcode.query (通过保单号查询零售通商品条形码)

通过保单号查询零售通商品条形码

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
buyer_id String 必须 4066493944 买家账号
policy String 必须 20111950603014010219 保单号

响应参数

名称 类型 示例值 描述
result InsSceneQueryResult {} 返回对象
  • └ biz_error_msg
  • String
  • demo
  • 错误信息
  • model
  • InsSceneLstBarCodeVo
  • 返回结果
  • └ bar_code_list
  • String []
  • 条形码列表
  • └ biz_success
  • Boolean
  • true
  • 是否成功
  • └ biz_error_code
  • String
  • demo
  • 错误编码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlipayBaoxianInscheckqueryBarcodeQueryRequest req = new AlipayBaoxianInscheckqueryBarcodeQueryRequest();
req.setBuyerId("4066493944");
req.setPolicy("20111950603014010219");
AlipayBaoxianInscheckqueryBarcodeQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alipay_baoxian_inscheckquery_barcode_query_response>
    <result>
        <biz_error_msg>demo</biz_error_msg>
        <model>
            <bar_code_list>
                <string></string>
            </bar_code_list>
        </model>
        <biz_success>true</biz_success>
        <biz_error_code>demo</biz_error_code>
    </result>
</alipay_baoxian_inscheckquery_barcode_query_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

返回
顶部