Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I go about call the search help center articles? #72

Open
aaronpurt opened this issue Dec 2, 2021 · 2 comments
Open

How do I go about call the search help center articles? #72

aaronpurt opened this issue Dec 2, 2021 · 2 comments

Comments

@aaronpurt
Copy link

Hi,

Im trying to figure out how to interact with the 'zendesk2/lib/zendesk2/help_center/search_help_center_articles.rb'. But, can't seem to figure out how to search help center articles with the query and parameters.

Doe anyone have some insights / documentation or some code snippets I could use to be able to interact with the Help Center resources in this repo?

@lanej
Copy link
Owner

lanej commented Dec 9, 2021

Try something like:

Zendesk2.new(url: 'http://zendesk.example.org').help_center_articles.search('term:value').to_a

@sanket-prabhu-HS
Copy link

@lanej I tried this and it's not working for me. I have sent a query and its value as a parameter for search and I am getting this. It would be great if you can provide info with more insights.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants