alibaba.mos.card.center.bind.query (绑卡单查询)

绑卡单查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
bind_query_request BindQueryRequest 可选 request
  • └ store_no
  • String
  • 可选
  • xxx
  • 门店号
  • └ end_date
  • String
  • 可选
  • yyyy-MM-dd
  • 结束日期
  • └ page_no
  • Number
  • 可选
  • 1
  • 页码
  • └ page_size
  • Number
  • 可选
  • 1
  • 分页
  • └ id
  • Number
  • 可选
  • 1
  • id
  • └ doc_no
  • String
  • 可选
  • xxx
  • 单据号
  • └ original_card_no
  • String
  • 可选
  • xxx
  • 原始卡号
  • └ start_date
  • String
  • 可选
  • yyyy-MM-dd
  • 开始日期

响应参数

名称 类型 示例值 描述
trace_id String xxx trace
total Number 1 总数
async_result String 1 是否异步
data BindCardRecordDataDTO [] 1
  • └ id
  • Number
  • 1
  • 1
  • └ store_name
  • String
  • xxx
  • 门店名
  • └ mj_order_no
  • String
  • xxx
  • 单据号
  • └ bind_date
  • String
  • yyyy-MM-dd
  • 绑卡日期
  • └ original_card_no
  • String
  • xxx
  • 绑卡卡号
  • └ original_name
  • String
  • xxx
  • └ original_sell_date
  • String
  • yyyy-MM-dd
  • 购卡日期
  • └ wallet_active_date
  • String
  • yyyy-MM-dd
  • 激活日期
  • └ wallet_name
  • String
  • xxx
  • 绑卡人
  • └ bind_amount
  • BigDecimal
  • 1
  • 绑卡金额
attributes Json {} 拓展字段

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaMosCardCenterBindQueryRequest req = new AlibabaMosCardCenterBindQueryRequest();
AlibabaMosCardCenterBindQueryRequest.BindQueryRequest obj1 = new AlibabaMosCardCenterBindQueryRequest.BindQueryRequest();
obj1.setStoreNo("xxx");
obj1.setEndDate("yyyy-MM-dd");
obj1.setPageNo(1L);
obj1.setPageSize(1L);
obj1.setId(1L);
obj1.setDocNo("xxx");
obj1.setOriginalCardNo("xxx");
obj1.setStartDate("yyyy-MM-dd");
req.setBindQueryRequest(obj1);
AlibabaMosCardCenterBindQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_mos_card_center_bind_query_response>
    <trace_id>xxx</trace_id>
    <total>1</total>
    <async_result>1</async_result>
    <data>
        <bind_card_record_data_d_t_o>
            <id>1</id>
            <store_name>xxx</store_name>
            <mj_order_no>xxx</mj_order_no>
            <bind_date>yyyy-MM-dd</bind_date>
            <original_card_no>xxx</original_card_no>
            <original_name>xxx</original_name>
            <original_sell_date>yyyy-MM-dd</original_sell_date>
            <wallet_active_date>yyyy-MM-dd</wallet_active_date>
            <wallet_name>xxx</wallet_name>
            <bind_amount>1</bind_amount>
        </bind_card_record_data_d_t_o>
    </data>
    <attributes>{}</attributes>
</alibaba_mos_card_center_bind_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

返回
顶部