GET /powerSupplies

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

Authentication

Authentication with user name and password is required.

Request URL

GET https://{management_server_IP}/powerSupplies

Query parameters

Parameters Required / Optional Description
excludeAttributes={attributes} Optional Returns 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} Optional Returns 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

Code Description Comments
200 OK The request completed successfully.
400 Bad Request A 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.
401 Unauthorized The user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body.
403 Forbidden The 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.
409 Conflict There is a conflict with the current state of the resource. A descriptive error message is returned in the response body.
500 Internal Server Error An internal error occurred. A descriptive error message is returned in the response body.

Response body

Attributes Type Description
powerSupplyList Array of objects List of all power supplies in all chassis
  See GET /powerSupplies/{uuid} Object Detailed 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"
}]
}