Incremental ticket export api filtered by brand

3 Comments

  • Christopher Kennedy
    Zendesk Developer Advocacy
    Hey Patrick,
     
    With search, it helps to make the query more specific to return smaller sets of data within the results limit or use Export Search Results.  This may allow you to avoid exceeding rate limits.
     
    There isn't a way to filter tickets returned by the Incremental Ticket Export (outside of excluding deleted tickets).  It will return all tickets updated since the provided start_time.  Your application that requests the export will need to parse the response data and filter any undesired tickets from that end.
     
    For an export of the last 90 days, generate the timestamp for "now" or "today" and subtract 90 days (in seconds).  This new timestamp will be your start_time value for 90 days ago.  After sending the first request, continue paginating until the end of the stream.  Then you'll have an export of tickets updated in the last 90 days.
    0
  • Patrick Arrastia

    Thank you for the reply, I appreciate it!

    0
  • Christopher Kennedy
    Zendesk Developer Advocacy
    No problem.  Have a great weekend!
    0

Please sign in to leave a comment.

Powered by Zendesk