Resolution API: why new disputes are not returned in getUserCases
Find the answer to your question
Advanced Search
Products
Question
Why our disputes which created after 27th Dec 2011 are not returned in getUserCases for the filters specified as below: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <getUserCasesRequest xmlns="http://www.ebay.com/marketplace/resolution/v1/services"> <creationDateRangeFilter> <fromDate>2011-09-26T00:00:00-07:00</fromDate> </creationDateRangeFilter> <caseStatusFilter> <caseStatus>OPEN</caseStatus> <caseStatus>CLOSED</caseStatus> </caseStatusFilter> <paginationInput> <pageNumber>1</pageNumber> <entriesPerPage>200</entriesPerPage> </paginationInput> <sortOrder>CREATION_DATE_DESCENDING</sortOrder> </getUserCasesRequest> </soap:Body> </soap:Envelope>
Answer
In the above getUserCases request, toDate is not populated. When toDate is not populated in the request then we calculate the toDate as fromDate+3 months or current date whichever is earlier. In this case fromDate is sent as 09-26-2011 so we populated the toDate + 3months, hence records after 12/26/2011 are not returned in getUserCases.