Skip to main content

OpenManage Enterprise 3.10 RESTful API Guide

PDF

GET method for AllLeafDevice(arg1)

This method returns the list of all leaf devices.

Description
Returns leaf devices.
Privilege
VIEW
HTTP response codes
200
Example response body
"{
    ""@odata.context"": ""/api/$metadata#Collection(DeviceService.Device)"",
    ""@odata.count"": 91,
    ""value"": [
        {
            ""@odata.type"": ""#DeviceService.Device"",
            ""@odata.id"": ""/api/DeviceService/Devices(10078)"",
            ""Id"": 10078,
            ""Type"": 1000,
            ""Identifier"": null,
            ""DeviceServiceTag"": null,
            ""ChassisServiceTag"": ""0064"",
            ""Model"": ""unknown"",
            ""PowerState"": 18,
            ""ManagedState"": 3000,
            ""Status"": 1000,
            ""ConnectionState"": true,
            ""AssetTag"": null,
            ""SystemId"": 0,
            ""DeviceName"": ""10.35.0.43"",
            ""LastInventoryTime"": ""2021-07-13 05:01:10.705"",
            ""LastStatusTime"": ""2021-07-13 10:00:06.051"",
            ""DeviceSubscription"": null,
            ""DeviceCapabilities"": [
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8,
                9,
                11,
                12,
                1101,
                13,
                1102,
                14,
                15,
                208,
                16,
                17,
                18,
                211,
                212,
                30,
                31,
                41,
                1009,
                50
            ],
            ""SlotConfiguration"": {
                ""ChassisName"": null
            },
            ""DeviceManagement"": [
                {
                    ""ManagementId"": 5000,
                    ""NetworkAddress"": ""10.35.0.43"",
                    ""MacAddress"": ""b8:cb:29:95:f5:f4"",
                    ""ManagementType"": 2,
                    ""InstrumentationName"": ""idrac-SVCTAG"",
                    ""DnsName"": ""idrac-SVCTAG"",
                    ""ManagementProfile"": [
                        {
                            ""ManagementProfileId"": 5000,
                            ""ProfileId"": """",
                            ""ManagementId"": 5000,
                            ""AgentName"": ""iDRAC"",
                            ""Version"": ""4.32.10.00"",
                            ""ManagementURL"": ""https://10.35.0.43:443"",
                            ""HasCreds"": 0,
                            ""Status"": 1000,
                            ""StatusDateTime"": ""2021-07-09 11:39:30.449""
                        }
                    ]
                }
            ],
            ""Enabled"": true,
            ""Actions"": null,
            ""ConnectionStateReason"": 101,
            ""InventoryDetails@odata.navigationLink"": ""/api/DeviceService/Devices(10078)/InventoryDetails"",
            ""HardwareLogs@odata.navigationLink"": ""/api/DeviceService/Devices(10078)/HardwareLogs"",
            ""SubSystemHealth@odata.navigationLink"": ""/api/DeviceService/Devices(10078)/SubSystemHealth"",
            ""RecentActivity@odata.navigationLink"": ""/api/DeviceService/Devices(10078)/RecentActivity"",
            ""InventoryTypes"": {
                ""@odata.id"": ""/api/DeviceService/Devices(10078)/InventoryTypes""
            },
            ""LogSeverities"": {
                ""@odata.id"": ""/api/DeviceService/Devices(10078)/LogSeverities""
            },
            ""Settings@odata.navigationLink"": ""/api/DeviceService/Devices(10078)/Settings"",
            ""Temperature"": {
                ""@odata.id"": ""/api/DeviceService/Devices(10078)/Temperature""
            },
            ""Power"": {
                ""@odata.id"": ""/api/DeviceService/Devices(10078)/Power""
            },
            ""SystemUpTime"": {
                ""@odata.id"": ""/api/DeviceService/Devices(10078)/SystemUpTime""
            },
            ""BlinkStatus"": {
                ""@odata.id"": ""/api/DeviceService/Devices(10078)/BlinkStatus""
            },
            ""PowerUsageByDevice@odata.navigationLink"": ""/api/DeviceService/Devices(10078)/PowerUsageByDevice"",
            ""DeviceBladeSlots@odata.navigationLink"": ""/api/DeviceService/Devices(10078)/DeviceBladeSlots"",
            ""GraphicInfo"": {
                ""@odata.id"": ""/api/DeviceService/Devices(10078)/GraphicInfo""
            },
            ""DeployRequired"": {
                ""@odata.id"": ""/api/DeviceService/Devices(10078)/DeployRequired""
            },
            ""SensorHealth@odata.navigationLink"": ""/api/DeviceService/Devices(10078)/SensorHealth"",
            ""VirtualSession"": {
                ""@odata.id"": ""/api/DeviceService/Devices(10078)/VirtualSession""
            },
            ""Baselines"": {
                ""@odata.id"": ""/api/DeviceService/Devices(10078)/Baselines""
            }
        }
    ]
}"


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: <>()\