Ticket Search Date Range

Using the API:  .../TDWebApi/api/{appId}/tickets/search

What would send in the JSON body to return only tickets created in the past 45 days? 

"CreatedDateFrom":"{{today's date}} - 45 days"  < replace with correct value

Asked by Scott Cory on Tue 4/23/24 6:40 PM
Sign In to leave feedback or contribute an answer

Answer (1)

This answer has been marked as the accepted answer
Mark Sayers Wed 4/24/24 9:04 AM

Hello Scott,

I don't think the endpoint will allow for logic in the value you're supplying for that CreatedDateFrom search property.

You would have to send the actual date that you intend for the search to execute against, in the properly expected date format.

Sincerely,
Mark Sayers
Sr Support Consultant, CS

No feedback