Get All Service Insight Notifications
Use this API to retrieve all notifications present in Junos Space Service Insight.
URI
https://[host]/api/juniper/serviceinsight/notification-management/notifications (HTTP method = GET)
Consumes
None
Produces
application/vnd.juniper.serviceinsight.notification-management.notifications +xml;version=1
application/vnd.juniper.serviceinsight.notification-management.notifications +json;version=1
Response Elements
Element | Type | Description |
---|---|---|
uri | String | URI of the collection of Service Insight notifications |
Size | Integer | Number of notifications present in the collection |
notification | notification | A Service Insight notification |
name | String | Name of the notification |
owner | String | User who created the notification |
status | String | Status of the notification Possible Values
|
trigger | String | Trigger to send notification in the form of e-mail or SNMP traps to users when conditions specified in the trigger filter are met Possible values:
|
domain | String | Domain to which the notification belongs |
domainId | Integer | ID of the domain to which the notification belongs |
Sample Output
Sample XML Output
<notifications uri="/api/juniper/serviceinsight/notification-management/notifications"> <notification uri="/api/juniper/serviceinsight/notification-management/notifications/23415"> <name>Test</name> <owner>super</owner> <status>Enabled</status> <trigger>NEW_EOL_MATCH</trigger> <domain>xyz</domain> <domainId>10</domainId></notification> </notifications>
Sample XML Output
{ "notifications": { "@uri": "/api/juniper/serviceinsight/notification-management/notifications", "notification": { "@uri": "/api/juniper/serviceinsight/notification-management/notifications/23415", "name": "Test", "owner": "super", "status": "Enabled", "trigger": "NEW_EOL_MATCH", "domain": "xyz" "domainId": "10" } } }