私は現在のプロジェクトにeBayのJava SDKを使用しており、eBay APIを使用してさまざまなタスクを実行する必要があります。多くのAPI呼び出しが正常に動作しています。ただし、GetSellingManagerSoldListings要求は、コール応答がエラーを示していなくても、販売履歴を返すことはありません。以下は、要求XML(私はeBayAuthTokenの生産トークンを使用しています)eBay Trading API GetSellingManagerSoldListing SalesRecordの結果はありませんか?
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Header>
<ebl:RequesterCredentials xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" SOAP-ENV:mustUnderstand="0">
<ebl:eBayAuthToken>MY_AUTH_TOKEN</ebl:eBayAuthToken>
</ebl:RequesterCredentials>
</S:Header>
<S:Body>
<GetSellingManagerSoldListingsRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Version>967</Version>
<Archived>true</Archived>
<Pagination>
<EntriesPerPage>200</EntriesPerPage>
<PageNumber>1</PageNumber>
</Pagination>
<SaleDateRange>
<TimeFrom>2016-08-14T00:00:00.124+08:00</TimeFrom>
<TimeTo>2016-08-29T11:50:07.125+08:00</TimeTo>
</SaleDateRange>
</GetSellingManagerSoldListingsRequest>
</S:Body>
</S:Envelope>
で、応答XMLは次のとおりです。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<GetSellingManagerSoldListingsResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2016-08-29T03:50:12.672Z</Timestamp>
<Ack>Success</Ack>
<Version>967</Version>
<Build>E967_CORE_APISELLING_17965876_R1</Build>
</GetSellingManagerSoldListingsResponse>
</soapenv:Body>
</soapenv:Envelope>
私はここで間違って何かをやっていますか?レスポンスにSalesRecordがないのはなぜですか?
私は、アイテムID
<Search>
<SearchType>ItemID</SearchType>
<SearchValue>MY_ITEM_ID</SearchValue>
</Search>
を置くことによってのみ、一つの項目にリクエストを制限するために、検索を追加しようとしましたが、いや、他の呼び出し方法があるかどうかまだSalesRecord
はまた、私は思っていないのですeBayの販売履歴を検索します。