Developer Forum [ All Topics | New Topic ]

Thread: Column CutLongTitle

 Using the web service and :

Params.CutFrom = rapaport.Cuts.VERY_GOOD;

Params.CutTo = rapaport.Cuts.VERY_GOOD;

I get results with the column 'CutLongTitle' as an empty string.

How do I avoid these being returned?

When I try to use the template I never get an empty cut.

>> add a comment
12/03/2014 01:22

8 Replies:

Params.CutFrom and Params.CutFrom are only for round diamonds, you get 'CutLongTitle' empty for other shapes.

>> add a comment
12/3/2014 4:13:00 AM

Well, how do I not get them in the results?

>> add a comment
12/3/2014 11:54:00 PM
only rounds has cut grade, so we ignore the cut filter for not round diamods.  in other words, you cannot search  pears with EX cut


>> add a comment
12/4/2014 2:08:00 AM
Not all diamonds have a cut grade. Cut is not shape. As far as I know,  GIA only gives cut grades for round diamonds that are not fancy colored. That means a lot of diamond listings won't have a cut grade grade and therefore this field will show up empty. 

This is of course unexpected when you asked for diamonds only with 'very good' cuts.

I would like to dive a bit deeper into this. Can you give me a diamond number as an example, and the rest of the parameters that you are sending to our web service?



>> add a comment
12/4/2014 2:08:00 AM

Here are several diamond numbers which have empty Cut values:

DiamondID: 30329564
DiamondID: 57446231
DiamondID: 54869052
DiamondID: 19563782
DiamondID: 57745497
DiamondID: 31043320
DiamondID: 37323164
DiamondID: 37323152
DiamondID: 37323153
DiamondID: 37323171
DiamondID: 37323172
DiamondID: 37323154
DiamondID: 37323155
DiamondID: 37323156

Parameters used to retrieve diamonds, which resulted in some empty Cut values:

Params.PriceFrom = 0;
Params.PriceTo = 3000000;
Params.SizeFrom = 0;
Params.SizeTo = 14;
Params.ColorFrom = rapaport.Colors.D;
Params.ColorTo = rapaport.Colors.M;
Params.ClarityFrom = rapaport.Clarities.I1;
Params.ClarityTo = rapaport.Clarities.VVS2;
Params.CutFrom = rapaport.Cuts.VERY_GOOD;
Params.CutTo = rapaport.Cuts.EXCELLENT;
List<rapaport.Shapes> MyShapes = new List<rapaport.Shapes>();
Params.ShapeCollection = MyShapes.ToArray();

>> add a comment
12/6/2014 12:58:00 AM

Can you fix this web service and add a boolean parameter which is 'IncludeEmptyCuts"?


>> add a comment
12/6/2014 1:11:00 AM

Just to clear something up...

in my first post, I said that I do not get empty cut values using the template.

That was wrong. I actually do get empty cut values in there as well.

>> add a comment
12/6/2014 1:15:00 AM
I have given this some thought. I decided to leave things the way they are. 

I want our customers to find what they are looking for. Only round diamonds have cut grades. If you want to search for a variety of shapes, such as you do, and you want only diamonds with VG+ cuts, than automatically the none rounds would be discarded, but that doesn't make sense. So what we do instead is only apply the cut grade to where it can apply: to round diamonds. 

i think this is the best solution. 

Just an idea, maybe it would make sense not to let your clients search multiple shapes at once. 



>> add a comment
Leo Muller
12/9/2014 1:48:00 AM