Skip to main content
Published: March 02 2007, 6:05:00 PMUpdated: August 04 2022, 7:23:00 AM

When I sending the GetAccount request as showing below, the api reports the Accounts that dated outside the specified dates ( <Date>2007-02-16T07:49:03.000Z</Date>, for example)

<GetAccountRequest xmlns="urn:ebay:apis:eBLBaseComponents">
     <DetailLevel>ReturnAll</DetailLevel>
     <Version>501</Version>
     <BeginDate>2007-03-02T07:25:05-07:00</BeginDate>
     <EndDate>2007-03-02T11:04:34-07:00</EndDate>
     <Pagination>
       <EntriesPerPage>500</EntriesPerPage>
       <PageNumber>1</PageNumber>
     </Pagination>
     <AccountEntrySortType>AccountEntryCreatedTimeAscending</AccountEntrySortType>
   </GetAccountRequest>


Why the data range tags do not work?

Summary

  The BeginDate and EndDate date range filters are the optional properties for GetAccount API call. The call returns data that limited within the data range specified only when AccountHistorySelection is set  to BetweenSpecifiedDates in the request as below.

<?xml version="1.0" encoding="utf-8" ?>

        <GetAccountRequestxmlns="urn:ebay:apis:eBLBaseComponents">
       <Version>501</Version>
       <BeginDate>2007-03-02T01:25:05-07:00</BeginDate>
              <EndDate>2007-03-02T10:25:05-07:00</EndDate>
               <Pagination>
                    <EntriesPerPage>50</EntriesPerPage>
                    <PageNumber>1</PageNumber>
     </Pagination>
             <AccountHistorySelection>BetweenSpecifiedDates</AccountHistorySelection>              <RequesterCredentials>
                   <eBayAuthToken>XXXX</eBayAuthToken>
        </RequesterCredentials>
  </GetAccountRequest>

Additional Resources

 

How well did this answer your question?
Answers others found helpful