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
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
|
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
|
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 | |||
---|---|---|---|---|---|
fanList | Array | Information about each fan | |||
See GET /fans/{uuid} | Objects | Detailed 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"
}]
}
Give documentation feedback