Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm using AiQ UM 9.9P1
I try to get events from AiQ UM API with curl and I want to use multiple values for some filters
Here are my results :
- get events with filter CURRENT_STATE=NEW|ACKNOWLEDGED
curl -X GET "https://$OCUM_SERVER_HOST/api/management-server/events?current_state=new%7Cacknowledged" -H "accept: application/json" -u $USER:$PASS
-> works perfectly
- get events with filter IMPACT.LEVEL=INCIDENT|RISK
curl -X GET "https://$OCUM_SERVER_HOST/api/management-server/events?current_state=new%7Cacknowledged&impact.level=incident%7Crisk" -H "accept: application/json" -u $USER:$PASS
-> works perfectly
- get events with filter SEVERITY=ERROR (only one value)
curl -X GET "https://$OCUM_SERVER_HOST/api/management-server/events?severity=ERROR" -H "accept: application/json" -u $USER:$PASS
-> works perfectly
- get events with filter SEVERITY=ERROR|CRITICAL (with 2 values)
curl -X GET "https://$OCUM_SERVER_HOST/api/management-server/events?severity=ERROR%7CCRITICAL" -H "accept: application/json" -u $USER:$PASS
-> ERROR
"error": {
"code": null,
"message": "No enum constant com.netapp.dfm.entity.platform.event.EventSeverity.error,critical",
"target": null
}
Is this a bug ? Can somebody help ?
Thanks
Marc
Solved! See The Solution
1 ACCEPTED SOLUTION
tahmad has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1 REPLY 1
tahmad has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Probably. Please open a case to have it investigated.
