Developer Forum [ All Topics | New Topic ]

Thread: Results not showing on Raplink

I enter search criteria via the Raplink Diamond Feed link from the main menu on the website and I am able to get about 60 rows of data back. If I apply the same search criteria via a c# program that accesses the web service and in a fashion similar to the "Web Service Example C#" code sample, I get no results back. What do I have to do to bypass this? My understanding is that it has something to do with dealers giving permission to see their stock. I tried adding dealer numbers through the IncludeMemberCollection property but was not successful.

Also, what would be the best way to contact technical staff? phone, email, this forum? Please advise because in the past, I have added emails on this forum but did not get any answer, and I have been calling the Las Vegas 702 number instead, which is costly for me.

>> add a comment
05/14/2010 06:51

5 Replies:


can you please showthe full URL you are trying to use?


>> add a comment
Ahaliav Fox
5/15/2010 11:41:00 PM
I use to get an authentication ticket and then use to search for diamonds. This method is working for me (results are returned exactly as I would do them via Raplink). However, if I use the web service method, things do not work properly, even though all properties are being set properly. Sample code follows:

RapFeed.DownloadListings MyRapFeed = new RapFeed.DownloadListings();
MyRapFeed.Login(user, pw);
string feedTicket = MyRapFeed.AuthenticationTicketHeaderValue.Ticket.ToString();
RapFeed.AuthenticationTicketHeader feedAuth = new RapFeed.AuthenticationTicketHeader();
feedAuth.Ticket = feedTicket;
MyRapFeed.AuthenticationTicketHeaderValue = feedAuth;
RapFeed.DownloadListingsParameters MyParams = new RapFeed.DownloadListingsParameters(); ........

and so on with the rest of code, setting downloadlistings parameters.

I suspect that there is a bug somewhere on the server side when using web service. The reason I say that is because when I debug and prior to sending my request to raplink, i check all properties for downloadlistings and they all look fine. Either I am missing setting some parameter or there is a bug on the server side. Your advice is greatly appreciated.

Finally, thank you very much for your reply. I look forward to communicate with you on solving this problem.

>> add a comment
5/16/2010 1:29:00 AM

I need to see the exact URL you posted on the web site and the code including all parameters you are trying in the web service

I did my test with Round, Color: E, MinSize: 1 MaxSize:1 in the web site and in the WebService and I got the same results

Here is my code:

DownloadListings webServiceManager =

                        new DownloadListings();


                  //This must be done in HTTPS protocol

                  webServiceManager.Login("username", "password");


                  //After log in you will receive a encrypted ticket with your credentials. This will be used to authenticate your session.

                  //Now you can choose to change the protocol to HTTP so it works faster.

                  webServiceManager.Url = "http" + webServiceManager.Url.Substring(5);


                  DownloadListingsParameters setPatams =

                        new DownloadListingsParameters();


                  Shapes[] MyShapes = new Shapes[1];

                  MyShapes[0] = Shapes.ROUND;

                  Colors[] MyColors = new Colors[1];

            MyColors[0] = Colors.E;

                  setPatams.MinSize = 1;

                  setPatams.MaxSize = 1;

                  setPatams.ColorCollection = MyColors;

                  setPatams.ShapeCollection = MyShapes;

                  //setPatams.Markup = 120;


                  DataSet ds = webServiceManager.GetDiamonds(setPatams);


                  System.IO.File.AppendAllText(@"C:\\TestWithOutMarkup.csv", Excel.ConvertToCSV(ds.Tables[0]));


And the URL I posted in the site:


if you prefer to send me your code to my email you can send it to this email:


>> add a comment
Ahaliav Fox
5/16/2010 6:08:00 AM
Can you please let me know when do you expect to have the changes completed?

>> add a comment
5/22/2010 4:36:00 AM
we hope today

thanks for your patience

>> add a comment
Ahaliav Fox
5/22/2010 11:43:00 PM