How to specify date and time range query in scripted rest api

lucky6
Tera Contributor

Hello,

How to specify and call start date and end dates queryparameter in scripted rest api.

 

 

6 REPLIES 6

Maik Skoddow
Tera Patron
Tera Patron

Hi @lucky6 

first define the respective date range filter in the list view of the related table, like

MaikSkoddow_0-1705048659227.png

 

Then take the encoded query into the clipboard and paste it into the "query" field of the REST API explorer

MaikSkoddow_1-1705048815248.png

 

Then perform the query to get an idea how you can restrict the results to a certain date range.

 

Maik

 

Hi @Maik Skoddow  

How to add dynamic filters in above query?

Hi @lucky6 

always with the same approach. First configure the filter in the list view and then take the encoded query with you.

Maik

Hi @lucky6 

 

What is your requirement regarding Dynamic Filters ?

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.