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 JMBs with Errors

    Use this API to view all JMBs with errors.

    URI

    https://[host]/api/juniper/servicenow/jmb-error-management/jmbs (HTTP method = GET)

    Consumes

    None

    Produces

    • application/vnd.juniper.servicenow.servicenow-jmb-error-management.invalidjmbs+xml;version=1
    • application/vnd.juniper.servicenow.servicenow-jmb-error-management.invalidjmbs+json;version=1

    Response Elements

    Element

    Type

    Description

    uri

    String

    URI of the collection of JMBs with errors

    size

    Integer

    Number of records in the collection

    jmbError

    jmbError

    A JMB with errors in the collection

    status

    String

    JMB status.

    jmbName

    String

    Name of JMB

    id

    Integer

    ID of the JMB

    deviceId

    Integer

    ID of the device from which the erraneous JMB was collected

    Sample Output

    Sample XML Output

    <jmbErrors uri="/api/juniper/servicenow/jmb-error-management/jmbs/" size="1">
            <jmbError uri="/api/juniper/servicenow/jmb-error-management/jmbs/360449">
                    <filterLevel>4</filterLevel>
                    <status>invalid</status>
                    <jmbName>_ais_intel_20120220_103329.xml</jmbName>
                    <id>360449</id>
                    <deviceId>99511</deviceId>
            </jmbError>
    </jmbErrors>
    
    

    Sample JSON Output

    {"jmbErrors":{
            "@uri":"/api/juniper/servicenow/jmb-error-management/jmbs","@size":"2","jmbError":[
            {
                    “@uri":"/api/juniper/servicenow/jmb-error-management/jmbs/197401",
                    "filterLevel":1,
                    "status":"invalid",
                    "jmbName":"SN-SRX1400test_ais_intel_20120329_111913.xml",
                    "id":197401,
                    "deviceId":196610},
                    {
                            "@uri":"/api/juniper/servicenow/jmb-error-management/jmbs/197403",
                            "filterLevel":1,
                            "status":"invalid",
                            "jmbName":"SN-SRX1400test_ais_prob_20120329_111529.xml",
                            "id":197403,
                            "deviceId":196610}
                    ]
            }
    }
    

    Response Status Code

    Message

    Description

    204 No Content

    No JMBs with errors found in Service Now.

    Modified: 2016-08-10