alibaba.fundplatform.cardorders.info.query (根据制卡单分页查询卡信息)

该接口由汇金实现,外部调用。通过制卡单号分页查询卡信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
parameters CardMakingInfoQueryRequest 必须 请求结构体
  • └ page_size
  • Number
  • 必须
  • 500
  • 页大小,最大500
  • └ current_page
  • Number
  • 必须
  • 1
  • 当前页,从1开始
  • └ signture
  • String
  • 必须
  • test
  • 已废弃,可以填写固定值test
  • └ card_order_id
  • Number
  • 必须
  • 1001
  • 子制卡单ID

响应参数

名称 类型 示例值 描述
result CardMakingInfoQueryResponse result
  • └ card_making_infos
  • String []
  • {"cardNo":"123456789","cardPassword":"as9yh2f9hf","qrCode":"http://www.taobao.com/","shortQrCode":"http://www.taobao.com/","templateNo":"301000148E02","status":"ACTIVE"},{"cardNo":"1234567890","cardPassword":"as9yfh2f9hf","qrCode":"http://www.taobao.com/","shortQrCode":"http://www.taobao.com/","templateNo":"301000148E03","status":"ACTIVE"}
  • 卡信息列表。cardNo卡号,cardPassword卡密,qrCode二维码链接,shortQrCode短连接二维码,templateNo卡商品编码,status卡状态
  • └ success
  • Boolean
  • true
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaFundplatformCardordersInfoQueryRequest req = new AlibabaFundplatformCardordersInfoQueryRequest();
AlibabaFundplatformCardordersInfoQueryRequest.CardMakingInfoQueryRequest obj1 = new AlibabaFundplatformCardordersInfoQueryRequest.CardMakingInfoQueryRequest();
obj1.setPageSize(500L);
obj1.setCurrentPage(1L);
obj1.setSignture("test");
obj1.setCardOrderId(1001L);
req.setParameters(obj1);
AlibabaFundplatformCardordersInfoQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_fundplatform_cardorders_info_query_response>
    <result>
        <card_making_infos>
            <string>{&quot;cardNo&quot;:&quot;123456789&quot;</string>
            <string>&quot;cardPassword&quot;:&quot;as9yh2f9hf&quot;</string>
            <string>&quot;qrCode&quot;:&quot;http://www.taobao.com/&quot;</string>
            <string>&quot;shortQrCode&quot;:&quot;http://www.taobao.com/&quot;</string>
            <string>&quot;templateNo&quot;:&quot;301000148E02&quot;</string>
            <string>&quot;status&quot;:&quot;ACTIVE&quot;}</string>
            <string>{&quot;cardNo&quot;:&quot;1234567890&quot;</string>
            <string>&quot;cardPassword&quot;:&quot;as9yfh2f9hf&quot;</string>
            <string>&quot;qrCode&quot;:&quot;http://www.taobao.com/&quot;</string>
            <string>&quot;shortQrCode&quot;:&quot;http://www.taobao.com/&quot;</string>
            <string>&quot;templateNo&quot;:&quot;301000148E03&quot;</string>
            <string>&quot;status&quot;:&quot;ACTIVE&quot;}</string>
        </card_making_infos>
        <success>true</success>
    </result>
</alibaba_fundplatform_cardorders_info_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>

错误码解释

错误码 错误描述 解决方案
CARD_ORDER_NOT_FOUND 找不到子制卡单 请确认入参cardOrderId是否正确。
CARD_SIGNTRUE_ERROR 签名校验错误 请确认加签密钥,或者加签拼装格式是否正确。

API工具

如何获得此API

FAQ

返回
顶部