question

$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ asked ·

GetMyeBayBuyingCall returned empty UserDefinedList, what i did wrong?

i't my code sample:

 

RegisterApiCall("GetMyeBayBuyingCall");

ApiContext ctx = Contexts.GetApiContextByToken(token);

var apiCall = new GetMyeBayBuyingCall(ctx);

var req = new GetMyeBayBuyingRequestType();

MyeBaySelectionType userDefined = null;

userDefined = new MyeBaySelectionType();

userDefined.IncludeListContents = true;

req.DetailLevel = new DetailLevelCodeTypeCollection(new[] { DetailLevelCodeType.ReturnAll });

req.UserDefinedLists = userDefined;

apiCall.ApiRequest = req;

try

{

apiCall.GetMyeBayBuying();

}catch (Exception e)

{

throw;

}

UserDefinedListTypeCollection uDefined = response.UserDefinedList;

 

uDefined size is 0 there, why?

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
developer-support@ebay.com avatar image
0 Likes"
developer-support@ebay.com answered ·

Make sure the user actually has a defined list.  http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GetMyeBayBuyin...

If you are still having issues, you may want to create a support ticket, http://developer.ebay.com/support/developersupport/

· 1 · Share
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.

 

Hi again, user defined lists are the lists situated under Watch and Wish lists in eBay GUI, am i right?
I'm really sure that user has it, maybe i have lost some parameters?

 

0 Likes 0 · ·

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.