question

the_sharp_man_closet avatar image
0 Likes"
the_sharp_man_closet asked

GetMyeBaySelling ActiveList not filtering by DurationInDays

I am creating a call to GetMyeBaySelling using webservices/995/ebaySvc.wsdl
my c# code:
...
eBayAPIInterfaceService service = new eBayAPIInterfaceService();
GetMyeBaySellingRequestType req = new GetMyeBaySellingRequestType();
// Active List
req.ActiveList = new ItemListCustomizationType();
req.ActiveList.Include = true;
// setting this causes some kind of error and does not return anything
req.ActiveList.DurationInDays = Convert.ToInt16(45);
req.ActiveList.DurationInDaysSpecified = true;
GetMyeBaySellingResponseType resp = service.GetMyeBaySelling(req);

This returns zero listings even though I have 16 listings created within last 7 days.
NOTE THIS WORKS When I comment out the DurationInDays and DurationInDaysSpecified and i receive ALL the current listings.
I am creating a process where i do not want ALL the thousands of active listings, i just want the ones newly created within the past X days...
Any help is appreciated.
sell apigetmyebaysellingfilterapi-searchactivelist
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.

0 Answers

· Write an Answer

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.