简体   繁体   English

易趣API-GetSellerTransactions不会返回所有交易

[英]Ebay API - GetSellerTransactions not returning all transactions

I have about 40 transactions in ebay. 我在ebay上有大约40笔交易。 But GetSellerTransactions is only returning 16. Here is my request and the version is 981. 但是GetSellerTransactions仅返回16。这是我的请求,版本为981。

    GetSellerTransactionsCall call = new GetSellerTransactionsCall( context );
    GetSellerTransactionsRequestType  request = new GetSellerTransactionsRequestType();
    request.setIncludeFinalValueFee(true);
    request.setDetailLevel(new DetailLevelCodeType[]{
            DetailLevelCodeType.RETURN_ALL,
            DetailLevelCodeType.ITEM_RETURN_ATTRIBUTES
        });

I figured this out. 我想通了。 GetSellerTransactions returns transactions for a max of 30 days. GetSellerTransactions最多返回30天的交易。 To get all transactions, I had to make multiple requests by setting setModTimeFrom and setModTimeTo values in the requests. 为了获得所有交易,我必须通过在请求中设置setModTimeFrom和setModTimeTo值来发出多个请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM