Developer Forum [ All Topics | New Topic ]

Thread: Empty List being retrieved

I am using C# and I am using the webservice: https://technet.rapaport.com/WebServices/RetailFeed/Feed.asmx

I am able to authenticate and get a valid token, but I am unable to get any diamonds. I always get an empty list.

Here is my code:

rapaport.Feed RF = new rapaport.Feed();
rapaport.FeedParameters Params = new rapaport.FeedParameters();

RF.Login("CorrectUsername", "CorrectPassword");

Params.PageSize = 50;//Max Page size is 50
int DiamondsCount = 5;
System.Data.DataSet ds = RF.GetDiamonds(Params, ref DiamondsCount);

if (ds.Tables[0].Rows.Count == 0)
{
 //Empty List
}
else
{
 //Not an Empty List
}



>> add a comment
Steve
11/19/2014 12:15


2 Replies:

Also,

Even if I use the template design, I get an empty list:

"No matching diamonds were found. Please contact us and we will be happy to assist you."
 



>> add a comment
Steve
11/19/2014 12:17:00 AM
I get diamonds list with your code, and with template , for accountID  60524

>> add a comment
Reuven
11/19/2014 2:21:00 AM