How to add date filter in REST API query without java script call
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2018 11:54 PM
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
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2018 12:05 AM
what date filter you want to set..?
in sys_parrn_query you can define any filter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2018 12:07 AM
I want to retrieve incidents created after 01-01-2018

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2018 12:17 AM
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')