API Guide

Table Of Contents
Table 65. Parameters
Parameter Value Description Default value Parameter
type
Data type
Consoles/{Console-id}/Hosts
API. For more information, see Get
list of all hosts in vCenter on page 43.
HTTP response code:
Table 66. HTTP response code
Code Description or response object
200 Powersupply info
400 Operational Context not set
401 Authorization failure
403 vCenter permission denied
429 Too many requests
500 Internal Server error / timeout
For OMIVV-Specific error codes, see OMIVV-Specific error codes on page 112.
Example Response:
PowerSupplyInfo:
{
"powerSupplyCount": {PSU count} ,
"powerSupplies": [
{
"type": "{Power supply type}",
"location": "{PSU location}",
"outputWatts": "{Output in watts}",
"status": "{PSU status}"
},
{
"type": "{Power supply type}",
"location": "{PSU location}",
"outputWatts": {Output in watts},
"status": "{PSU status}"
}
]
}
For more information, see Response body on page 96.
Get host memory information
Description: Gets the information about the host memories.
Command or URL: /Services/InventoryService/Hosts/{id}/Hardware/Memories
Method: GET
Authorization: Bearer authentication
vCenter privileges required: Dell.Inventory.Configure Inventory
Table 67. Parameters
Host management 89