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 PBN Reports in Service Insight

    Service Insight provides Proactive Bug Notifications (PBNs) as a proactive measure to alert you about known issues that can impact the devices in your network. In the GUI, all available PBN reports are listed in the Manage PBN Reports landing page. The Get All PBN Reports in Service Insight returns the list of all available PBN reports.

    URI

    https://[host]/api/juniper/serviceinsight/pbnreport-management /pbnreports (HTTP method = GET)

    Consumes

    None

    Produces

    • application/vnd.juniper.serviceinsight.pbnreport-management.pbnreports+xml;version=1
    • application/vnd.juniper.serviceinsight.pbnreport-management.pbnreports+json;version=1

    Response Elements

    Element

    Type

    Description

    uri

    String

    URI of the collection of PBN reports

    size

    Integer

    Number of records in the collection

    pbnreport

    pbnreport

    A PBN report

    uri

    String

    URI of the PBN report

    reportcreator

    String

    User who created the PBN report.

    devicelist

    String

    A comma-separated list of devices to which this PBN report applies.

    mailstatus

    String

    When creating PBN reports, you can specify a set of email addresses to be notified when this PBN report is generated or updated.

    The mailstatus element displays whether or not an email has been sent.

    ID

    Integer

    Unique identifier of the PBN report. The ID is auto-generated by Service Now.

    reportname

    String

    User-defined name for this PBN report.

    domainId

    Integer

    ID of the domain to which a PBN report belongs

    Sample Output

    Sample XML Output

    <pbnreports uri="/api/juniper/serviceinsight/pbnreport-management/pbnreports" size="1">
            <pbnreport uri="/api/juniper/serviceinsight/pbnreport-management/pbnreports/753665">
                    <reportCreator>super</reportCreator>
                    <deviceList>elmo,re1-sur01.mx960.77.49</deviceList>
                    <mailStatus>Mail not sent. SMTP server not configured for Service Insight</mailStatus>
                    <id>4915207</id>
                    <reportName>SDKReport1</reportName>
    	            <domainId>10</domainId>
            </pbnreport>
    </pbnreports>
    

    Sample JSON Output

    pbnreports:{
            uri:'/api/juniper/serviceinsight/pbnreport-management/pbnreports',
            size:1,
            pbnreport:{
                uri:'/api/juniper/serviceinsight/pbnreport-management/pbnreports/753665',
                reportcreator:'super',
                devicelist:'elmo,re1-sur01.mx960.77.49',
                mailstatus:'Mail not sent. SMTP server not configured for Service Insight',
      		 id:’4915207’
                reportname:'SDKReport1'
                domainId:"10"
            }
        }
    

    Response Status Code

    Message

    Description

    204 No Content

    No reports were found.

    Modified: 2016-08-11