[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

Query Alert Notes

Description

Data returned includes a Collection of Alert Notes

Request

Request

URL

URL


post
https://localhost/suite-api/api/alerts/notes/query
Copy

Query Parameters

Query Parameters

integer
page Optional

Page number from which data needs to be displayed (0-based)


integer
pageSize Optional

Expected number of entries per page


Request Body

Request Body

alert-notes-query of type(s) application/json, application/xml Optional

The query spec used for looking up Alert Notes

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns AlertNotes of type(s) application/json, application/xml

The Alert Notes matching the query specified (Collection can be empty)

Errors

Errors

500

Error occurred while retrieving the Alert Notes

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"alert-query":{"activeOnly":false,"alertControlState":["OPEN"],"alertCriticality":["UNKNOWN"],"alertDefinitionId":["string"],"alertId":["string"],"alertImpact":["string"],"alertName":"string","alertStatus":["NEW"],"alertTypeSubtype":[{"subtypeIds":[0],"typeId":0}],"cancelTimeRange":{"endTime":0,"startTime":0},"compositeOperator":"AND","extractOwnerName":false,"groupId":"string","groupingCondition":"GROUP_BY_ALERT_DEFINITION","includeChildrenResources":false,"resource-query":{"adapterInstanceId":["string"],"adapterKind":["string"],"collectorId":[0],"collectorName":["string"],"credentialId":["string"],"includeRelated":"PARENT","maintenanceScheduleId":["string"],"name":["string"],"parentId":["string"],"propertyConditions":{"conditions":[{"doubleValue":0,"key":"string","operator":"EQ","stringValue":"string"}],"conjunctionOperator":"AND"},"propertyName":"string","propertyValue":"string","recentlyAdded":0,"regex":["string"],"resourceHealth":["GREEN"],"resourceId":["string"],"resourceKind":["string"],"resourceState":["STOPPED"],"resourceStatus":["NONE"],"resourceTag":[{"category":"string","name":"string"}],"statConditions":{"conditions":[{"doubleValue":0,"key":"string","operator":"EQ","stringValue":"string"}],"conjunctionOperator":"AND"},"statKey":"string","statKeyInclusive":false,"statKeyLowerBound":0,"statKeyUpperBound":0},"resourceKind":"string","startTimeRange":{"endTime":0,"startTime":0},"updateTimeRange":{"endTime":0,"startTime":0},"userId":"string","userName":"string"},"alertNoteId":["string"],"alertNoteType":["SYSTEM"],"compositeOperator":"AND","content":["string"],"creationTimeRange":{"endTime":0,"startTime":0},"userName":["string"]}' https://localhost/suite-api/api/alerts/notes/query


Feedback

Was this page helpful?