API Guide
HTTP response
codes
200
Example
Input:
/api/DeviceService/Devices(25004)/InventoryDetails('deviceSoftware')
Output:
{
"@odata.context": "/api/$metadata#DeviceService.InventoryDetail/$entity",
"@odata.type": "#DeviceService.InventoryDetail",
"@odata.id": "/api/DeviceService/Devices(25009)/
InventoryDetails('deviceSoftware')",
"InventoryType": "deviceSoftware",
"InventoryInfo":
[
{"Version": "0.3.0", "InstallationDate": "2017-07-13T00:00:00Z",
"Status": "Installed", "SoftwareType": "BIOS",…},
{"Version": "3.20.20.20", "InstallationDate": "2017-07-13T00:00:00Z",
"Status": "Installed",…},
{"Version": "0", "InstallationDate": "2017-07-13T00:00:00Z", "Status":
"Installed", "SoftwareType": "APAC",…},
{"Version": "0", "InstallationDate": "2017-07-13T00:00:00Z", "Status":
"Installed", "SoftwareType": "APAC",…},
{"Version": "3.36", "InstallationDate": "2017-07-13T00:00:00Z",
"Status": "Installed", "SoftwareType": "FRMW",…},
{"Version": "3.20.20.20", "InstallationDate": "2017-07-13T00:00:00Z",
"Status": "Installed",…},
{"Version": "0", "InstallationDate": "2017-07-13T00:00:00Z", "Status":
"Installed", "SoftwareType": "APAC",…},
{"Version": "0", "InstallationDate": "2017-07-13T00:00:00Z", "Status":
"Installed", "SoftwareType": "APAC",…},
{"Version": "0.2.5", "InstallationDate": "2017-07-13T00:00:00Z",
"Status": "Installed", "SoftwareType": "FRMW",…}
]
}
/api/DeviceService/Devices(Id)/HardwareLogs
This URI represents the hardware logs of a specific device.
GET method for HardwareLogs
This method returns the hardware logs of a specific device.
Description
Returns the hardware logs of a specific device.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "$metadata#Collection(DeviceService.LogModel)",
"@odata.count": 1902,
"value": [
{
"LogTimestamp": "20170907060147.000000-300",
"LogSequenceNumber": 286450,
"LogSeverity": 1000,
"LogComment": "[set comment here]",
"LogMessageId": "USR0030",
"LogMessage": "Successfully logged in using root, from 10.32.22.103
and wsman.",
"LogId": "DCIM:LifeCycleLog:286450",
184 Devices