Support Forum [ All Topics | New Topic ]

Thread: color_to - invalid format

When I send a json request to https://technet.rapaport.com/HTTP/JSON/RetailFeed/GetDiamonds.aspx
with body parameters:
{"search_type":"White",
"page_number":"1",
"page_size":50,
"color_to":"M"
}

I get diamond data returned as expected.

However if I change the color_to value:
{"search_type":"White",
"page_number":"1",
"page_size":50,
"color_to":"N"
}
then I get the error:
{ "response": { "header": { "error_code": 1001, "error_message": "Invalid format" }, "body": { } } }

Has something changed in the allowable range of values? Is the documentation at https://technet.rapaport.com/Info/RapLink/Format_Json.aspx up-to-date?


>> add a comment
Chris
11/28/2016 07:50


2 Replies:

Yes, the allowable range is from  D - M   ,N is not allowed value . 


>> add a comment
Reuven
11/28/2016 9:05:00 AM

Thanks
Is there any way to be notified or discover when previously accepted values are going to be disallowed?


>> add a comment
Chris
11/28/2016 10:20:00 AM