How to add date filter in REST API query without java script call

Rhujuta
Kilo Explorer

How to add date filter in REST API query without java script call. I am trying to filter incidents records based on a date in REST API query. Is it possible to add filter condition on date fields without the javascript call

3 REPLIES 3

Harsh Vardhan
Giga Patron

what date filter you want to set..?

in sys_parrn_query you can define any filter.

 

Rhujuta
Kilo Explorer

I want to retrieve incidents created after 01-01-2018

if you will do the filter on incident list by adding the filter condition "created" | after | " 01-01-2018" , and then copy the query, it will obviously add the "javascript:"

eg:  sys_parrn_query=sys_created_on>javascript:gs.dateGenerate('2018-01-01','23:59:59')