Hi,
I'd like to know what I'm doing wrong so I can't successfully make an api call to VSPC (7.0.0.12777) in order to return the active alarms.
This is what I'm trying to do:
url = f'{base_path}/alarms/active'
params = {
"filter": "[{\"operation\":\"or\",\"items\": \ [{\"property\":\"lastActivation.status\",\"operation\":\"equals\",\"collation\":\"ignorecase\",\"value\":\"warning\"},\ {\"property\":\"lastActivation.status\",\"operation\":\"equals\",\"collation\":\"ignorecase\",\"value\":\"error\"}] \
}]","sort": "[{\"property\":\"lastActivation.time\", \"direction\":\"descending\"}]"
}
r = session.get(url, params=params)
the error I have -- "message":"Value cannot be null.\\r\\nParameter name: source","type":"unspecified","code":500