Skip to main content

GET /fans

Use this method to return properties for all Flex System fans.

Authentication

Authentication with username and password is required.

Request URL

GET https://{management_server_IP}/fans

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
fanListArrayInformation about each fan
 See GET /fans/{uuid}ObjectsDetailed information about a specific fan
The following example is returned if the request is successful.
{
"fanList": [{
"cmmDisplayName": "Fan 01",
"cmmHealthState": "Normal",
"dataHandle": 0,
"description": "IBM Fan Pack",
"errorFields": [],
"firmware": [{
"build": "",
"date": "",
"name": "Fan Controller",
"role": "",
"status": "",
"type": "Fan Controller",
"version": "226"
}],
"FRU": "88Y6685",
"fruSerialNumber": "YK10JPB69H61",
"hardwareRevision": "4.0",
"leds": [{
"color": "Amber",
"location": "FrontPanel",
"name": "FAULT",
"state": "Off"
}],
"machineType": "",
"manufactureDate": "2511",
"manufacturer": "IBM",
"manufacturerId": "20301",
"model": "",
"name": "Fan 01",
"parent": {
"uri": "chassis/FBEF740B178F4EFAA846E7225EE256DC",
"uuid": "FBEF740B178F4EFAA846E7225EE256DC"
},
"partNumber": "88Y6691",
"posID": "373",
"powerAllocation": {
"maximumAllocatedPower": 0,
"minimumAllocatedPower": 0
},
"powerState": "Unknown",
"productId": "342",
"productName": "80mm Fan Pack for ITE Cooling",
"serialNumber": "",
"slots": [1],
"type": "Fan",
"uri": "fan/192C7661981E11E091C2C0AC11247C9B",
"userDescription": "",
"uuid": "192C7661981E11E091C2C0AC11247C9B",
"vpdID": "11"
}]
}