Skip to main content

OpenManage Enterprise 3.10 RESTful API Guide

PDF

GET method for Devices

This method returns the list of devices within a specific group.

Description
Returns the list of devices within a group.
NOTE:For more information about the properties for device responses, see DeviceService.
Privilege
VIEW
HTTP response codes
200
Example response body
{
  "@odata.context": "$metadata#Collection(DeviceService.Device)",
  "@odata.count": 1,
  "value": [
    {
      "@odata.id": "/api/DeviceService/Devices(1614)",
      "Id": 1614,
      "Type": 1000,
      "Identifier": "GMGR031",
      "ChassisServiceTag": "GMGR031",
      "Model": "PowerEdge R740xd",
      "PowerState": 17,
      "ManagedState": 5000,
      "Status": 4000,
      "ConnectionState": false,
      "AssetTag": null,
      "SystemId": 1847,
      "DeviceName": "WIN-02GODDHDJTC",
      "LastInventoryTime": "2017-06-08 14:10:43.965",
      "LastStatusTime": "2017-06-08 21:31:41.519",
      "DeviceCapabilities": [
        32,
        1,
        2,
        3,
        4,
        7,
        9,
        12,
        13,
        14,
        15,
        16,
        17,
        30,
        31
      ],
      "DeviceSubscription": null,
      "DeviceSpecificData": null,
      "SlotConfiguration": {},
      "DeviceManagement": [
        {
          "ManagementId": 5003,
          "NetworkAddress": "fe80::f68e:38ff:fecf:15ba",
          "MacAddress": "",
          "ManagementURL": "https://[ IP Address ]",
          "ManagementType": 2,
          "InstrumentationName": "WIN-02GODDHDJTC",
          "DnsName": "idrac-SVCTAG",
          "Status": 1000
        },
        {
          "ManagementId": 5002,
          "NetworkAddress": "xx.xx.xx.xx",
          "MacAddress": "f4:8e:38:cf:15:ba",
          "ManagementURL": "https://[ IP Address ]",
          "ManagementType": 2,
          "InstrumentationName": "WIN-02GODDHDJTC",
          "DnsName": "idrac-SVCTAG",
          "Status": 1000
        }
      ],
      "InventoryDetails": [
        {
          "@odata.id": "/api/DeviceService/Devices(1614)/InventoryDetails"
        }
      ],
      "HardwareLogs": [
        {
          "@odata.id": "/api/DeviceService/Devices(1614)/HardwareLogs"
        }
      ],
      "SubSystemHealth": [
        {
          "@odata.id": "/api/DeviceService/Devices(1614)/SubSystemHealth"
        }
      ],
      "RecentActivity": [
        {
          "@odata.id": "/api/DeviceService/Devices(1614)/RecentActivity"
        }
      ],
      "InventoryTypes": {
        "@odata.id": "/api/DeviceService/Devices(1614)/InventoryTypes"
      },
      "LogSeverities": {
        "@odata.id": "/api/DeviceService/Devices(1614)/LogSeverities"
      },
      "Settings": [
        {
          "@odata.id": "/api/DeviceService/Devices(1614)/Settings"
        }
      ],
      "Temperature": {
        "@odata.id": "/api/DeviceService/Devices(1614)/Temperature"
      },
      "Power": {
        "@odata.id": "/api/DeviceService/Devices(1614)/Power"
      },
      "BlinkStatus": {
        "@odata.id": "/api/DeviceService/Devices(1614)/BlinkStatus"
      },
      "PowerUsageByDevice": [
        {
          "@odata.id": "/api/DeviceService/Devices(1614)/PowerUsageByDevice"
        }
      ],
      "Faults": [
        {
          "@odata.id": "/api/DeviceService/Devices(1614)/Faults"
        }
      ],
      "DeviceBladeSlots": [
        {
          "@odata.id": "/api/DeviceService/Devices(1614)/DeviceBladeSlots"
        }
      ],
      "GraphicInfo": {
        "@odata.id": "/api/DeviceService/Devices(1614)/GraphicInfo"
      }
    }
]
}
Table 1. AttributesThis table lists the attributes that this method supports.
Attribute name Description
Id ID of the group.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\