文档中心 > API类目 > 驿马前台api

cainiao.yima.wallet.getwalletbillturnover (小件员钱包账单流水)

小件员钱包账单流水

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
cp_code String 可选 ZTO cpcode
user_id Number 可选 1 id
session_code String 可选 1 企业子账号session
start_time Number 可选 001001021 起始时间
page_index Number 可选 1 页数
end_time Number 可选 129310313 结束时间
type String 可选 SEND 类型
last_cursor String 可选 1 游标
page_size Number 可选 1 页大小

响应参数

名称 类型 示例值 描述
data WalletBillTurnoverDto data
  • count_amount_list
  • FundsDto []
  • 统计列表
  • └ amount
  • String
  • 1
  • 金额
  • └ amount_desc
  • String
  • 1
  • 金额描述
  • └ type
  • String
  • 1
  • 金额类型
  • └ type_desc
  • String
  • 1
  • 金额类型描述
  • details
  • BillTurnoverRecordDto []
  • 1
  • 明细列表
  • └ amount
  • String
  • 1
  • 金额
  • └ amount_desc
  • String
  • 1
  • 金额描述
  • └ details
  • String []
  • 1
  • 明细
  • └ funds_id
  • String
  • 1
  • 流水id
  • └ logo
  • String
  • cainiao://111
  • logo
  • └ show_id
  • String
  • 1
  • 展示的id
  • └ status
  • String
  • 冻结中
  • 状态
  • └ time
  • String
  • 今天 08:00
  • 时间
  • └ timestamp
  • Number
  • 23923024234
  • 时间戳
  • └ type
  • String
  • 1
  • 类型
  • └ type_desc
  • String
  • 1
  • 类型描述
  • └ last_cursor
  • String
  • 1
  • 游标
status_code String 2 返回码
status_message String 1 返回说明
is_success Boolean false 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
CainiaoYimaWalletGetwalletbillturnoverRequest req = new CainiaoYimaWalletGetwalletbillturnoverRequest();
req.setCpCode("ZTO");
req.setUserId(1L);
req.setSessionCode("1");
req.setStartTime(001001021L);
req.setPageIndex(1L);
req.setEndTime(129310313L);
req.setType("SEND");
req.setLastCursor("1");
req.setPageSize(1L);
CainiaoYimaWalletGetwalletbillturnoverResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<cainiao_yima_wallet_getwalletbillturnover_response>
    <data>
        <count_amount_list>
            <funds_dto>
                <amount>1</amount>
                <amount_desc>1</amount_desc>
                <type>1</type>
                <type_desc>1</type_desc>
            </funds_dto>
        </count_amount_list>
        <details>
            <bill_turnover_record_dto>
                <amount>1</amount>
                <amount_desc>1</amount_desc>
                <details>
                    <string>1</string>
                </details>
                <funds_id>1</funds_id>
                <logo>cainiao://111</logo>
                <show_id>1</show_id>
                <status>冻结中</status>
                <time>今天 08:00</time>
                <timestamp>23923024234</timestamp>
                <type>1</type>
                <type_desc>1</type_desc>
            </bill_turnover_record_dto>
        </details>
        <last_cursor>1</last_cursor>
    </data>
    <status_code>2</status_code>
    <status_message>1</status_message>
    <is_success>false</is_success>
</cainiao_yima_wallet_getwalletbillturnover_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

返回
顶部