Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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

    • Enabled—An e-mail or SNMP trap is sent to users if a trigger occurs in Service Insight
    • Disabled—An e-mail or SNMP trap is not sent to users if a trigger occurs in Service Insight

    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:

    • New EOL Match—A notification is sent when an EOL announcement is received and one or more devices are affected by the announcement
    • New PBN Arrival—A notification is sent when a new PBN is received and matches one or more devices.
    • New PBN Match—A notification is sent when a PBN affects one or more devices.

    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"
        }
      }
    }
    

    Modified: 2016-08-11