Gravatar for navinbala@gmail.com

Question by BALAJI, Oct 9, 2015 11:44 AM

Having issues while invoking the coveo rest api using JSON POST

Coveo search request parameters are not considered while using JSON post. Please find the below data

{
  "q":"Internet",
  "aq":"@syssource=\"DEV\"",
  "NumberOfResults":10,
  "FirstResult":0,
  "EnableDidYouMean":false,
  "ExcerptLength":200,
  "EnableTypeAheadSearch":false,
  "MaxNumberOfTypeAheadResults":false
}

When we send the request, we are getting the defaults results. And the results are not refined based on the parameters.

1 Reply
Gravatar for mlaporte@coveo.com

Answer by Martin Laporte, Oct 9, 2015 2:04 PM

Well, all our parameters start with a lowercase letter, and case is important. Also, there are some in there that I don't recognize…

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Oct 14, 2015 9:29 AM

Please refer to the Coveo Search API documentation for the right query parameters to use (see Query Parameters)

Ask a question