Gravatar for debadyuti.sil@gmail.com

Question by Deb, Jul 23, 2015 3:21 PM

How to make a rest call to coveo when I don't know clent id?

Hi,

I am developing a page where we need to make a rest API call to Coveo.API looks like this -->'https://cloudplatformstaging.coveo.com/rest/search' .I am getting authentication issue.We have installed coveo package in salesforce.We already used packaged version of pages and it's function .Now we are going to call Coveo using Rest API Any help will be appreciated.

1 Reply
Gravatar for olamothe@coveo.com

Answer by olamothe, Jul 23, 2015 4:02 PM

The Coveo for Salesforce package comes with a CoveoGlobal class that allows you to generate search token or execute query using apex code.

Documentation
Then, to use that token, see this documentation :
More documentation

Ask a question