How can I get a list of tickets based on ticket creation time using the API?
|
|||||
Updated: 06/06/2022
Article #: 356
|
|||||
Cayzu's API allows you to pull out tickets that were created in a specified time interval using the following API call: GET api/Support_Ticket/OtherTickets?pageNumber={pageNumber}&pageSize={pageSize}&statusId={statusId}&brandId={brandId}&priorityId={priorityId}&ticketTypeId={ticketTypeId}&createStartDateTimeUtc={createStartDateTimeUtc}&createEndDateTimeUtc={createEndDateTimeUtc}&includeDescription={includeDescription}
To get more details about the available parameters, see: here
Example 1. To pull out tickets that were created on April, 2021 the API call would be:
https://api.cayzu.com/api/Support_Ticket/OtherTickets?pageNumber=1&pageSize=100&statusId=0&brandId=0&priorityId=0&ticketTypeId=0&createStartDateTimeUtc=2021-04-01&createEndDateTimeUtc=2021-04-30&includeDescription=yes&Token=YourToken
Example 2. To pull out tickets that were created between a certain date interval, example: April 9, 2021 between 8:00am and 6:00pm. The API call would be:
https://api.cayzu.com/api/Support_Ticket/OtherTickets?pageNumber=1&pageSize=100&statusId=0&brandId=0&priorityId=0&ticketTypeId=0&createStartDateTimeUtc=2021-04-18T08:00&createEndDateTimeUtc=2021-04-18T18:00&includeDescription=yes&Token=YourToken
Want more information on Cayzu Help Desk? Visit https://www.cayzu.com |
|||||
|
|||||
|
|||||
|