HPE 3PAR StoreServ Storage
1832592 Members
3223 Online
110043 Solutions
New Discussion

Query: 3PAR WSAPI query time range

 
BradV
Esteemed Contributor

3PAR WSAPI query time range

Just trying to query for events after a given date.  Page 77 of the Web Services API 1.6.15 Developers Guide shows this is possible.  I run:

curl --silent --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/eventlog?query=%22time%20GE%202022-05-1%2001:00:00%22 | jq -r '.'

and get back:

{
  "code": 324,
  "desc": "LOGICAL_OPERATION invalid or not supported for this feature"
}

What did I do wrong?

4 REPLIES 4
support_s
System Recommended

Query: 3PAR WSAPI query time range

System recommended content:

1. HPE 3PAR Web Services API Developer's Guide

2. HPE 3PAR OS 3.3.1 MU5 Release Notes

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo

BradV
Esteemed Contributor

Re: Query: 3PAR WSAPI query time range

I stated that I got the reference from the developes guide.  So, telling me to read the developers guide does not help.  The release notes did not help either.

veeyarvi
HPE Pro

Re: Query: 3PAR WSAPI query time range

Hi BradV

I just tested this and can confirm I got the same result. I am checking this further and will keep you posted.

Regards,
Veeyarvi



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
BradV
Esteemed Contributor

Re: Query: 3PAR WSAPI query time range

Thanks!