Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen
Bug in triggers api endpoint /api/v2/triggers/active
Gepostet 28. Apr. 2022
Based on the documentation below, we should be able to pass category_id as a query param to this endpoint. However, the endpoint returns all active triggers and not just the ones associated with my category_id.
https://developer.zendesk.com/api-reference/ticketing/business-rules/triggers/#list-active-triggers
0
4
4 Kommentare
CJ Johnson
Hi Kyle,
The page there is kinda confusing. The endpoint you're trying (/api/v2/triggers/active) doesn't have a parameter for category_id, unfortunately. I think you'll want the /api/v2/triggers/ endpoint, and to pass the active status as a parameter too. Does this work for you?
https://domain.zendesk.com/api/v2/triggers?active=true&category_id=123456789
1
Stefan Dao
Yep that's what I ended up doing. The documentation definitely calls out category_id as a parameter but it may not be respected or used in the backend.
0
Mary Arrington
I'm unable to view option to activate "Custom Object" under “Admin Center -> Objects and rules” as mentioned in below link.
https://developer.zendesk.com/documentation/custom-data/custom-objects/getting-started-with-custom-objects/
Can you please share how can we view this option to Active Custom Objects?
---
This comment has been edited by the Zendesk Community Team has been edited to remove external links in accordance with our Community Code of Conduct.
0
Dinesh Korgaokar
hey,
https://yourdomain.zendesk.com/api/v2/triggers.json?include=usage_1h,usage_24h,usage_7d,usage_30d&active=true&category_id=<id>
this worked for me.
0