question

krzyho1 avatar image
0 Likes"
krzyho1 asked

GetOrders shows wrong result

 

My objective is to list user's transactions (both sales and purchases). I am using GetOrders and specifying a time range to and the call executes successfully but returns 0 transactions, whereas the user I am querying for has multiple purchases on their account. Here is the code that I am using:

 

<GetOrdersRequest xmlns="urn:ebay:apis:eBLBaseComponents">

<RequesterCredentials>

    <eBayAuthToken>......</eBayAuthToken>

</RequesterCredentials>

<CreateTimeFrom>2009-04-05T05:02:03</CreateTimeFrom>

<CreateTimeTo>2011-12-23T00:02:44</CreateTimeTo>

</GetOrdersRequest>​

 

And even using the API test tool (Hence, the problem is not language specific) it delivers 0 results:

 

<GetOrdersResponse xmlns="urn:ebay:apis:eBLBaseComponents">

<Timestamp>2011-12-23T00:05:32.753Z</Timestamp>

<Ack>Success</Ack>

<Version>753</Version>

<Build>E753_CORE_BUNDLED_14214525_R1</Build>

<PaginationResult>

    <TotalNumberOfPages>0</TotalNumberOfPages>

    <TotalNumberOfEntries>0</TotalNumberOfEntries>

</PaginationResult>

<HasMoreOrders>false</HasMoreOrders>

<OrderArray />

<OrdersPerPage>100</OrdersPerPage>

<PageNumber>1</PageNumber>

<ReturnedOrderCountActual>0</ReturnedOrderCountActual>

</GetOrdersResponse>​`

 

The user I am querying for has 2 recent purchases dated at:

 

• 12/08/11

• 11/18/11

 

What am I missing here? I am supplying the time range and the call executes properly, yet it finds 0 results. I'd very much appreciate your help.

api-getorders
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
InactiveAutoUser avatar image
0 Likes"
InactiveAutoUser answered

I haven't tested this directly, but it could be something to do with your date range.  The API only allows you to grab up to 30 days.  You're trying to get 2 years worth of info here.  Try updating that to within 30 days and see if you get anything back then.

---------------------------------------

Angell EYEUSBSwiper

10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.