Developer Forum [ All Topics | New Topic ]

Thread: No results for Fancy Diamonds

Hi,

If I search for Fancy diamonds:

{
  "request": {
    "header": {
       "username": "username",
       "password": "password"
      },
      "body": {
        "search_type": "Fancy",
        "page_number": "1",
        "page_size": "20"
    }
  }
}
I get no results:
[error_code] => 4001
[error_message] => No Diamond was found


But changing the search_type to "White":

{
  "request": {
    "header": {
      "username": "username",
      "password": "password"
    },
    "body": {
      "search_type": "White",
      "page_number": "1",
      "page_size": "20"
    }
  }
}


 will retrieve 3710 results? I am doing something wrong?


>> add a comment
Chris
03/01/2018 04:33


2 Replies:

Hi,

Anyone have any answer?

Thanks

>> add a comment
Chris
3/10/2018 9:23:00 AM

Chris,

Hello and thank you for contacting the RapNet tech customer support.

You were asking why the Instant Inventory Fancy diamonds request return 0 ‘Fancy’ diamonds.

Your JASON API request looks to be the correct format.

I checked your five RapNet Instant Inventory feeds.

All five feeds select only ‘White’ diamonds. So only ‘White’ diamonds were available and were found by the API requests.

To allow an Instant Inventory API also return ‘Fancy’ diamonds, you would need set-up a new ‘Fancy’ diamonds feed, wait up to 4 hours for the diamonds selection to refresh and then try the API request again.

Please let me know if you have other questions at Tech@diamonds.net.



>> add a comment
Tech customer support -Zalman
3/11/2018 9:47:00 AM