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

    Device Management REST API Overview

    Device Management REST API

    The device management service allows you to retrieve device details, export device details and device inventory data to an Excel file, create on-demand incidents, delete device from Service Now and install event profiles on a device. The device-management resources are available at https://[host]/api/juniper/servicenow/device-management.

    URI

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

    Produces

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

    Sample Output

    Sample XML Output

    <servicenow-device-management>
      <collection href="/api/juniper/servicenow/device-management/devices" rel="devices"/>
      <method href="/api/juniper/servicenow/device-management/devices/exportDevice" rel="Export devices in excel or CSV format"/>
      <method href="/api/juniper/servicenow/device-management/devices/devicesToAdd" rel="Get devices to be added in Service Now"/>
      <method href="/api/juniper/servicenow/device-management/devices/add" rel="Add devices in Service Now"/>
      <method href="/api/juniper/servicenow/device-management/devices/exportDeviceInventory" rel="Export device inventory in excel or CSV format"/>
      <method href="/api/juniper/servicenow/device-management/devices/createOnDemandIncident" rel="Create On-Demand Incident"/>
      <method href="/api/juniper/servicenow/device-management/devices/associateAddressGroup" rel="Associate Devices to Address Group"/>
    </servicenow-device-management>
    

    Sample JSON Output

    {
      "servicenow-device-management": {
        "collection": {
          "@href": "/api/juniper/servicenow/device-management/devices",
          "@rel": "devices"
        },
        "method": [
          {
            "@href": "/api/juniper/servicenow/device-management/devices/exportDevice",
            "@rel": "Export devices in excel or CSV format"
          },
          {
            "@href": "/api/juniper/servicenow/device-management/devices/devicesToAdd",
            "@rel": "Get devices to be added in Service Now"
          },
          {
            "@href": "/api/juniper/servicenow/device-management/devices/add",
            "@rel": "Add devices in Service Now"
          },
          {
            "@href": "/api/juniper/servicenow/device-management/devices/exportDeviceInventory",
            "@rel": "Export device inventory in excel or CSV format"
          },
          {
            "@href": "/api/juniper/servicenow/device-management/devices/createOnDemandIncident",
            "@rel": "Create On-Demand Incident"
          },
          {
            "@href": "/api/juniper/servicenow/device-management/devices/associateAddressGroup",
            "@rel": "Associate Devices to Address Group"
          }
        ]
      }
    }
    

    The device management service provides the following APIs:

    Modified: 2016-08-10