Recent searches
No recent searches
Using Custom Fields in a JSON query
Posted Oct 25, 2021
I am trying to put together a JSON / API query string using a combination of 'standard' and custom fields such as:
.zendesk.com/v2/incremental/tickets.json?per_page=900&start_time=1634740000&include=users,groups,organizations,metric_sets,ticket_forms&created>2021-10-01&custome_field123=wibble"
But having no luck at all. Anyone have any ideas?
0
1
1 comment
Tipene Hughes
Hi Morris Coyle,
Thanks for reaching out!
The incremental exports API does not support the use of the “created” URL query parameter — by design, it is intended to pull items that were created or changed since the last request was made. Custom fields are also not available to the “include” side-loading parameter. For more info on side-loading, see below:
https://developer.zendesk.com/documentation/ticketing/using-the-zendesk-api/side_loading/
Depending on your use case, the Search API might be more helpful to you in pulling a specific dataset:
https://developer.zendesk.com/api-reference/ticketing/ticket-management/search/
I hope this helps! Feel free to reach out with any questions.
Tipene
1
Sign in to leave a comment.