Skip to main content

Hi,

 

I want to fetch all events in a certain date range. Following the docs ihttps://wiki.axiossystems.com/assyst11-3Wiki/index.php/Category:assystREST#JSON_Body, I already managed to get all events from a certain department, but I can’t manage to limit the results to a daterange. 

 

https://<assyst>/assystREST/v2/events?eventType=incident&eventStatus=open&assignedServDeptId=68 works just fine

https://<assyst>/assystREST/v2/events?eventType=incident&eventStatus=open&assignedServDeptId=68&dateLogged=2023-09-22T00:00:00Z,2023-09-22T20:00:00Z returns “Invalid Lookup Parameter: dateLogged”. Any idea on how to make this filter work?

Dear customer,

 

Thank you for your question.

 

Please find the requested information below :

 

 

Date Logged

Searching for events logged between a range of dates can be achieved using a request like the following:

GET http://<server>:<port>/assystREST/v2/events?loggedDate=2014-09-22T00:00:00Z,2017-09-22T00:00:00Z&eventType=incident&eventStatus=open

Searching for events logged after specific date can be achieved using a request like the following:

GET http://:/assystREST/v2/events?loggedDate=2014-09-22T00:00:00Z&eventType=incident&eventStatus=open

The wiki links below contains  available REST examples : 

https://wiki.axiossystems.com/assyst11-7Wiki/index.php/Integrations:assystREST_More_Examples#Date_Logged

 

Kind regards,


Reply