Filtering Audit Records Based on EventTime
This example shows you how to filter audit records for a specific time. Set the parameter ptc.search.allowFilterOnTime to true. Use the following GET request:
/Windchill/servlet/odata/Administration/AuditRecords?$filter = EventTime eq 2019-09-10T10:31:59Z &ptc.search.allowFilterOnTime=true
This example shows you how to filter all records between two values of EventTime. Use the following GET request:
/Windchill/servlet/odata/Administration/AuditRecords?$filter = EventLabel eq 'Login' and EventTime le 2019-09-11T10:55:53Z and EventTime gt 2019-09-10T11:29:57Z &$orderby=EventTime asc &ptc.search.allowFilterOnTime=true