Export Notifications
This API exports notifications that are matched with given filter to csv file.
Filter to export notifications.
{
"vsafilter": {
"condition": "AND",
"filterlist": [
{
"condition": "AND",
"propfilter": [
{
"propname": "IsLiveNotification",
"matchtype": "MATCH",
"values": [
"true"
]
}
]
}
]
},
"from": 0,
"size": 5492,
"sort": [
{
"fieldName": "LastChangedAt",
"order": "desc"
}
],
"startTimestamp": 1717213680000,
"endTimestamp": 1719373740000
}
The VSAFilter object defines how the filters has to be applied on queries.
The size parameter allows you to configure the maximum no of records to be returned.
The from parameter defines the offset from the first result you want to fetch.
The Sort object defines, on which field sorting has to be apply and what will be the sorting order (ASC/DESC).
Must be in EPOCH milli seconds.
Must be in EPOCH milli seconds.
notifications in csv format
"\"Severity\",\"Acknowledged\",\"Owner\",\"Class Name\",\"Name\",\"Event Name\",\"Event State\",\"Notification Source\",\"Impact\",\"Occurrence Count\",\"Last Changed\",\"Active\",\"Category\",\"Certainty\",\"Class Display Name\",\"Clear On Acknowledge\",\"Element Class Name\",\"Element Name\",\"Event Text\",\"Event Type\",\"First Notified\",\"In Maintenance\",\"Instance Name\",\"Notification\",\"Is Problem\",\"Is Root\",\"Last Cleared\",\"Last Notified\",\"Source Event Type\",\"Source Info\",\"Ticket ID\",\"UserDefined 1\",\"UserDefined 10\",\"UserDefined 11\",\"UserDefined 12\",\"UserDefined 13\",\"UserDefined 14\",\"UserDefined 15\",\"UserDefined 16\",\"UserDefined 17\",\"UserDefined 18\",\"UserDefined 19\",\"UserDefined 2\",\"UserDefined 20\",\"UserDefined 3\",\"UserDefined 4\",\"UserDefined 5\",\"UserDefined 6\",\"UserDefined 7\",\"UserDefined 8\",\"UserDefined9\",\"Source\",\"Event Display Name\",\"Notification DisplayName\",\"UUID\",\"tags.location\",\"tags.customer\"\n\"3\",\"true\",\"SYSTEM\",\"VirtualMachine\",\"vmbased-demodeploy-manju-DeployerVM1\",\"GuestOSNotRunning\",\"INACTIVE\",\"INCHARGE-ESM-SamsungVDU-USM\",\"0\",\"2\",\"1719380518000\",\"false\",\"Operational\",\"100.0\",\"VirtualMachine\",\"false\",\"VirtualMachine\",\"VM-wdc-11-vc20.oc.vmware.com:vmbased-demodeploy-manju-DeployerVM1\",\"no description available\",\"DURABLE\",\"1719379059000\",\"false\",\"VM-wdc-11-vc20.oc.vmware.com:vmbased-demodeploy-manju-DeployerVM1\",\"NOTIFICATION-VirtualMachine_VM-wdc-11-vc20.oc.vmware.com_:vmbased-demodeploy-manju-DeployerVM1_GuestOSNotRunning\",\"true\",\"true\",\"1719380214000\",\"1719379724000\",\"PROBLEM\",\"INCHARGE-SA\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"INCHARGE-SA-PRES\",\"GuestOSNotRunning\",\"VirtualMachine GuestOSNotRunning 100.0%: vmbased-demodeploy-manju-DeployerVM1\",\"Name:NOTIFICATION-VirtualMachine_VM-wdc-11-vc20.oc.vmware.com_:vmbased-demodeploy-manju-DeployerVM1_GuestOSNotRunning$Source:INCHARGE-SA-PRES$\",\"\",\"\""
Client must authenticate itself to get the requested response
The client does not have access rights to the content.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/tcsa/api/notification-management/v1/notifications/export