HPE OneView
1756003 Members
3484 Online
108839 Solutions
New Discussion

filter on dates for /rest/alerts not working

 
divyadarshini
Occasional Contributor

filter on dates for /rest/alerts not working

hi ,

https://{appl}/rest/alerts?start=0&count=-1&filter="'created' lt 2015-02-24T06:16:47.830Z" is not working.I get alertInvlaidparameter exception as response.can you please check on this

1 REPLY 1
AmRa
HPE Pro

Re: filter on dates for /rest/alerts not working

Please refer the HPE OneView API Reference guide and find the filters which can be added with mentioned rest API call.

https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.0/cicf-api/en/index.html#rest/alerts

I am an HPE Employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo