Developer Forum [ All Topics | New Topic ]

Thread: Problem: two methods - different results

Hi

I’ve got different results

When I use http://technet.rapaport.com/HTTP/RapLink/download.aspx?ShapeIDs=1,2,3,4,9,17,7,8,10,11,12,13,14,15,19,20&WeightFrom=.35&WeightTo=99&ColorIDs=1,2,3,4,5,6,7&ClarityIDs=2,3,4,5,6,7&LabIDs=1,4,10&TablePercentFrom=30&TablePercentTo=90&DepthPercentFrom=30&DepthPercentTo=90&PolishIDs=1,2,3&SymmetryIDs=6,1,2&FluorIntensityIDs=1,2,3,7,4&CountryIDs=1&SellerLogin=50217,14320,12927,54534,60037,53599,56572,67564,14470,23298,67891,52648,62847,66822,13124,50943,29244,34292,7311,19855,30597,57111,9827,53384,3430,12724,43150,34201,33858,43401,32544,13227,61666,18561,6603,34004,53466,14543,46498,62956,8044,37650,62931,31786,7443,60745,32235,60318,57367,32764,36212,68276,45680,67601,39321,36778,31998,18762,23402,45495,43461,23267,66643,35044,19265,35141,9913,46115,38455,47989,18942,32185,46677,22522,37099,67216,61524,66819,66506,9213,47487,19029,33171,63008,12962,43442,42185,21409,29424,30838,32640,69167,16541,51852,34211,20953,67694,31659,67737,11685,69927,59908,21413,15129,67065,40476,54123,53208,27151,48037,36815,49301,66998,43983,29745,53169,19675,50700,60772,56385,49409,20996,38040,20350,52331,28578,48832,39205,21362,8258,25333,16393,65769,62410,13198,18908,19515,13028,56065,8142,70695,56068,39216,53463,49761,30893,35190,43714,21956,29708,55788,3175,23981,28853,30138,56823,39790,29777,14948,6744,32102,14661,31449,54505,24899,37290,46668,66656,15866,37853,23159,16434,13659,4356,43412,50022,13115,32205,1127,66507,57388,25336,26199,32001,46913,26483,66436,30420,31010,69947,66863,11811,35971,67000,59848,2655,68708,34678,19353,31960,43593,22268,5402,24893,67884,21684,14289,30181,64881,12794,43225,14971,32931,40221,18864,36177,33915,33511,40218,64792,13564,24321,14255,28082,1178,39038,8588,33609,49864,59740,12199,40329,20986,60175,38693,8376,50841,16170,70155,28772,58310,11742,32541,44414,1929,13283,68197,21571,35042,19106,68862,21592,10187,39110,9325,38012,24784,50656,39842,21288,43967,22376&SortBy=Owner&White=1&Fancy=1&Programmatically=yes&Version=1.0&UseCheckedCulommns=1&cLOTNN=1&cNC=1&cSHP=1&cCRTCM=1&cCOLR=1&cCLAR=1&cCUT=1&cPX=1&cDPX=1&cCERT=1&cDPTH=1&cTBL=1&cGIRDLE=1&cCulet=1&cPOL=1&cSYM=1&cFLR=1&cMEAS=1&cCT=1&cSTONES=1&cCertID=1&cSTOCK_NO=1&cCITY=1&cSTATE=1&cCountry=1&cOwner=1&cCROWN=1&cPAVILION=1&cCertificateImage=1

I get a .csv file with more than 30 thousand rows.

 

But when I use the web service I get an object of DataSet with less than 18 thousand rows.

var rapNet = new RapNetInventoryLink();

rapNet.Login(“<UserName>”, “<Password>”);

rapNet.Url = string.Format("http{0}", rapNet.Url.Substring(5));

var parameters = rapNet.Init();

               parameters.ClarityCollection = new Clarities[] { Clarities.IF,………};

                parameters.ColorCollection = new Colors[] { Colors.D,……………};

                parameters.FluorescenceIntensityCollection = new FluorescenceIntensities[] { FluorescenceIntensities.Faint,……..};

                parameters.PolishCollection = new Polishes[] { Polishes.Ideal,………..};

                parameters.SymmetryCollection = new Symmetries[] { Symmetries.Ideal,…….};

                parameters.LabCollection = new Labs[] { Labs.GIA, Labs.AGS, Labs.EGL_USA };

                parameters.ShapeCollection = new Shapes[] { Shapes.ROUND , ……………………};

                parameters.MinSize = 0.35;

                parameters.MaxSize = 99;

                parameters.MinDepthPercent = 30;

                parameters.MaxDepthPercent = 90;

                parameters.MinTablePercent = 30;

                parameters.MaxTablePercent = 90;

                parameters.IncludeWhiteDiamonds = true;

                parameters.IncludeFancyDiamonds = true;

                parameters.Location = Locations.USA;

 var ds = rapNet.GetDiamonds(parameters);

 

Is this a well-known bug or am I doing something wrong?



>> add a comment
Yanek
02/24/2011 03:53


3 Replies:

and of course I set member Ids to parameters

parameters.IncludeMemberCollection = new int[] { 50217, ..........................., 22376 };


>> add a comment
Yanek
2/24/2011 4:43:00 AM
Hi,

this indeed was a bug, that arose due to changes we have made recently in our database.
i fixed it  and its should be ok now


Ephraim

 



>> add a comment
Ephraim
2/27/2011 6:42:00 AM
Thanks a lot, Ephraim

But the problem still exists.

According to the 1 of March the .csv file has 29649 items, but the web service returns 27888 items.

Any idea?


>> add a comment
Yanek
3/1/2011 6:16:00 AM