Demystifying iControl REST Part 3 - How to pass query parameters and tmsh options
Published Jul 09, 2015
Version 1.0Was this article helpful?
Nevermind, I figured it out. Looks like the $filter only works on the field 'requestDatetime'
https://{{hostname}}/mgmt/tm/asm/events/requests?$filter=requestDatetime+gt+'2020-07-28T00:00:00Z'&$top=1
which can be combined with
https://{{hostname}}/mgmt/tm/asm/events/requests?$filter=requestPolicy/name+eq+'{{asm-policy-name}}'+and+requestDatetime+gt+'2020-07-29T00:00:00Z'&$top=25