Limited results via the Zendesk API: ...api/v2/organizations = different results than with URL ...agent/organizations



Gepostet 14. Nov. 2022

Hi, with my tets, it seems the API/V2/ORGANIZATIONS... only provides the list of the tickets which have been updated for the last 4 months (120 days).

Is there a possibility to obtain the complete tickets (including the full statuses = Open, Pending, Solved, Closed with the complete requests even if they have been closed 6 months, 1 year, 2 years... ago) via this Zendesk API?


No specific details in the Zendesk article: https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/

Example on our account today (14 November 2022):
. Client 1:
https://neofi.zendesk.com/api/v2/organizations/360038262500/tickets
 = 9 tickets
https://neofi.zendesk.com/agent/organizations/360038262500/tickets
 = 55 tickets

. Client 2:
https://neofi.zendesk.com/api/v2/organizations/382229815379/tickets
= 40 tickets --> last update for the last ticket which is taken into consideration in this result = 117 days = 20 July 2022. The next dated ticket, older, which has been last modified on 14th of July is not taken into consideration via this API request.
https://neofi.zendesk.com/agent/organizations/382229815379/tickets
= 144 tickets --> the complete list of tickets for this Company for around one year and a half

Thanks in advance for your help, your clues, your expertise.


2

2

2 Kommentare

Hi Oliver! If you check the API documentation that we have for the List Tickets endpoint, you'll see that it says that we do not return archived tickets in that response. It also states that if you want to view all of the available tickets, you will want to use one of our incremental export options...I would personally recommend using cursor based pagination, as it is a more robust API to work with.

-1


Anmelden, um einen Kommentar zu hinterlassen.

Sie finden nicht, wonach Sie suchen?

Neuer Post