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 to fetch tickets from custom field #5

Open
rameshwebmaster opened this issue Nov 30, 2017 · 1 comment
Open

how to fetch tickets from custom field #5

rameshwebmaster opened this issue Nov 30, 2017 · 1 comment

Comments

@rameshwebmaster
Copy link

hello,
i have created a tickets and added tag "lead" and my code is as below,
$tickets = Freshdesk::tickets()->all(['tag'=>'Lead']);
dd($tickets);
it only fetching using email but not by any other field?
how we can fetch all tickets which is related to any custom field?

Thanks in advance.

@rameshwebmaster
Copy link
Author

rameshwebmaster commented Nov 30, 2017

hello i am able to search tickets by custom field using curl request
https://mydomain.freshdesk.com/api/v2/search/tickets?query="cf_category:'Lead'"
but i want to same result using default API call (PHP SDK).so which method should i call and how data should i pass for same?

Thanks

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

1 participant