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

    View Exposure of a Device

    Use this API to view exposure of a Service Now device to known issues.

    URI

    https://[host]/api/juniper/servicenow/device-management/devices/{id}/viewExposure (HTTP method = GET)

    URI Parameters

    Parameter

    Type

    Required

    Description

    id

    Integer

    Yes

    ID of Service Now device

    Consumes

    None

    Produces

    • application/vnd.juniper.servicenow.device-management.device-exposures+xml;version=1
    • application/vnd.juniper.servicenow.device-management.device-exposures+json;version=1

    Response Elements

    Element

    Type

    Description

    uri

    String

    URI of the collection of issues applicable for the device

    href

    String

    Link to the collection of issues applicable for the device

    size

    Integer

    Number of records in the device exposure collection

    deviceExposure

    deviceExposure

    An issue applicable to the device

    title

    String

    Title of a notification issued by Juniper Support System (JSS)

    issueDate

    String

    Date and time the notification was issued

    prNumber

    Integer

    PR number associated with the notification

    linkInPRSearch

    String

    Link to the PR associated with the notification

    junosVersion

    String

    Version of Junos OS for which the notification is issued

    aiScriptVersion

    String

    Version of AI-Scripts impacted by the notification

    products

    String

    Products on which the notification has an impact

    platforms

    String

    Platforms on which the notification has an impact

    Sample Output

    Sample XML Output

    <deviceExposures  href="/api/juniper/servicenow/device-management/devices/34639/viewExposures" >
    <deviceExposure>
    <title>test</title>
    <issueDate></issueDate>
    <prNumber>12</prNumber>
    <linkInPRSearch>test</linkInPRSearch>
    <junosVersion>1</junosVersion >
    <aiScriptVersion>1</aiScriptVersion >
    <products>test</products>
    <platforms>test</platforms>
    </deviceExposure>
    </deviceExposures>
    

    Sample JSON Code

    {
      "deviceExposures": {
        "@href": "/api/juniper/servicenow/device-management/devices/34639/viewExposures",
        "deviceExposure": {
          "title": "test",
          "prNumber": "12",
          "linkInPRSearch": "test",
          "junosVersion": "1",
          "aiScriptVersion": "1",
          "products": "test",
          "platforms": "test"
        }
      }
    }
    

    Modified: 2016-08-10