Skip to main content

GET /powerSupplies

Use this method to return properties for power supplies in all Flex System chassis.

Authentication

Authentication with username and password is required.

Request URL

GET https://{management_server_IP}/powerSupplies

Query parameters

ParametersRequired / OptionalDescription
excludeAttributes={attributes}OptionalReturns a response that excludes the specified attributes for each resource. You can specify one or more attributes that are listed in the response body, separated by a comma.
Note
  • When the includeAttributes query parameter is specified, the excludeAttributes query parameter is ignored.
  • The response is filtered based on attribute name, not the attribute value.
  • Base attributes cannot be excluded.
includeAttributes=<attributes}OptionalReturns a response that includes the base attributes and the specified attributes for each resource. You can specify one or more attributes that are listed in the response body, separated by a comma.
Note
  • The response is filtered based on attribute name, not the attribute value.
  • If this attribute is not specified, all attributes are returned by default.

Request body

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
401UnauthorizedThe user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body.
403ForbiddenThe orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request.
409ConflictThere is a conflict with the current state of the resource. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
powerSupplyListArray of objectsList of all power supplies in all chassis
 See GET /powerSupplies/{uuid}ObjectDetailed information about each power supply
The following example is returned if the request is successful.
{
"powerSupplyList": [{
"cmmDisplayName": "Power Supply 01",
"cmmHealthState": "Non-Critical",
"dataHandle": 0,
"description": "Power Supply",
"firmware": [{
"build": "",
"date": "",
"name": "Power Supply Firmware",
"role": "",
"status": "",
"type": "Power Supply Firmware",
"version": "0"
}],
"FRU": "69Y5817",
"fruSerialNumber": "ZK125116E0KK",
"hardwareRevision": "5.0",
"inputVoltageIsAC": true,
"inputVoltageMax": 208,
"inputVoltageMin": 200,
"leds": [{
"color": "Green",
"location": "Planar",
"name": "IN",
"state": "On"
},
...,
{
"color": "Amber",
"location": "Planar",
"name": "FAULT",
"state": "Off"
}],
"machineType": "",
"manufacturer": "IBM",
"manufactureDate": "2411",
"manufacturerId": "20301",
"model": "",
"name": "Power Supply 01",
"parent": {
"uri": "chassis/FBEF740B178F4EFAA846E7225EE256DC",
"uuid": "FBEF740B178F4EFAA846E7225EE256DC"
},
"partNumber": "69Y5801",
"posID": "128",
"powerAllocation": {
"totalInputPower": 0,
"totalOutputPower": 0
},
"powerState": "Unknown",
"productId": "303",
"productName": "IBM 2500 W Power Supply",
"serialNumber": "",
"slots": [1],
"type": "PowerSupply",
"uri": "powerSupply/B1B549049DE811E00005000500050005",
"userDescription": "",
"uuid": "B1B549049DE811E00005000500050005",
"vpdID": "60"
}]
}