question

things4craft avatar image
0 Likes"
things4craft asked

GetMemberMessagesCall - SDK 1131 Not behaving as documented

Hi

I have been calling GetMemberMessagesCall with the MessageStatus not set and nothing is being returned.

According to the documentation

"If this field is omitted, both answered and unanswered member messages are retrieved."

https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/GetMemberMessages.html

Code

GetMemberMessagesCall g = new GetMemberMessagesCall(apiContext);

g.SenderID = memberid;

g.MailMessageType = MessageTypeCodeType.All;

g.DetailLevelList = new DetailLevelCodeTypeCollection();

g.DetailLevelList.Add(DetailLevelCodeType.ReturnMessages);

g.Execute();

This has been tested against different memberid which are known to have answered and unanswered messages. The call returns data correctly when the messagestatus is set.

Seems like I will have to call this twice with the message status set to answered and unanswered to get all messages which seems daft.


Assuming this is just incorrectly documented unless anyone knows different?


Thanks


Rich











bug reportbad documentationgetmembermessagescall
10 |600

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

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.