DCIM Power APIs (1.0)
Download OpenAPI specification:Download
Empower yourself with DCIM Power APIs. Use them to get current and trending information on power consumption by assets. These APIs return the power consumption info for all level values, given a customer account number, IBX and level type of ibx - cage, cabinet or circuit. Trending power data returns the kVA power draw and max allowed (%) for the given asset.
Fetch current power consumption data
The powerData endpoint returns power consumption info ( power consumption data with comparison data of current [% Kva] vs yesterday, lastWeek, lastMonth, lastQuarter ) for input ibx, cage, cabinet, circuit.
query Parameters
accountNo required | string Customer Account Number |
ibx required | string IBX Code |
levelType required | string Enum: "ibx" "cage" "cabinet" "circuit" level type allowed value [ibx|cage|cabinet|circuit] |
levelValue required | string level value - ibx code, cage unique space id, cabinet unique space id, serial number for level type ibx, cage, cabinet, circuit respectively. |
header Parameters
Authorization required | string Specify the OAuth Bearer token with prefix 'Bearer '. |
Responses
Response Schema: application/json
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Response samples
- 200
- default
{- "payLoad": {
- "ibx": "ABC",
- "accountNo": "ABC",
- "levelType": "ibx",
- "levelValue": "ABC",
- "isAlarm": "true",
- "kva": 54.402,
- "amps": 123,
- "soldKva": 598.349,
- "cabinetRating": 341.54,
- "contractualKva": 341.54,
- "percentageKva": 341.54,
- "comparisonData": {
- "datapoint": "percentageKva",
- "yesterday": 0.147,
- "lastWeek": -0.295,
- "lastMonth": -0.184,
- "lastQuarter": 52.434
}, - "peakKvaLastSevenDays": 55.296,
- "peakKvaLastSevenDaysPercentage": 55.296,
- "peakKvaLastSevenDaysContractualKva": 55.296,
- "peakKvaLastSevenDaysTime": 55.296,
- "soldAmps": 123,
- "primaryKva": 28.31,
- "redundantKva": 26.092,
- "kw": "NA",
- "powerFactor": "NA",
- "readingTime": "1497410400000",
- "lastUpdatedTime": "1497410520000",
- "customerName": "ABC"
}, - "status": {
- "type": "INFO",
- "statuscode": "1000",
- "msg": "OK"
}
}
Fetch current power consumption data
The powerdata endpoint returns power consumption info for all values of input level type ibx, cage, cabinet or circuit.
header Parameters
Authorization required | string Specify the OAuth Bearer token with prefix 'Bearer '. |
Request Body schema: application/json
request payload
accountNo | string Customer Account Number |
ibx | string trending values |
levelType | string Enum: "ibx" "cage" "cabinet" "circuit" level type allowed value [ibx|cage|cabinet|circuit] |
Responses
Response Schema: application/json
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Request samples
- Payload
{- "accountNo": "1234",
- "ibx": "0.147",
- "levelType": "0.147"
}
Response samples
- 200
- default
{- "payLoad": {
- "data": [
- {
- "ibx": "ABC",
- "accountNo": "ABC",
- "levelType": "ibx",
- "levelValue": "ABC",
- "isAlarm": "true",
- "kva": 54.402,
- "amps": 123,
- "soldKva": 598.349,
- "cabinetRating": 123,
- "contractualKva": 0,
- "percentageKva": 15.928,
- "comparisonData": {
- "datapoint": "percentageKva",
- "yesterday": 0.147,
- "lastWeek": -0.295,
- "lastMonth": -0.184,
- "lastQuarter": 52.434
}, - "peakKvaLastSevenDays": 55.296,
- "peakKvaLastSevenDaysPercentage": 55.296,
- "peakKvaLastSevenDaysContractualKva": 55.296,
- "peakKvaLastSevenDaysTime": 55.296,
- "soldAmps": 123,
- "primaryKva": 28.31,
- "redundantKva": 26.092,
- "kw": "NA",
- "powerFactor": "NA",
- "readingTime": "1497410400000",
- "lastUpdatedTime": "1497410520000",
- "customerName": "ABC"
}
]
}, - "status": {
- "type": "INFO",
- "statuscode": "1000",
- "msg": "OK"
}
}
Fetch Trending Power Data.
The trending power data for draw kVA to max allowed (%) for input ibx, cage, cabinet, circuit.
query Parameters
accountNo required | string Customer Account Number |
ibx required | number IBX Code |
levelType required | string Enum: "ibx" "cage" "cabinet" "circuit" [ibx|cage|cabinet|circuit] |
levelValue required | string ibx code, cage unique space id, cabinet unique space id and serial number for level type ibx, cage, cabinet and circuit respectively. |
interval required | string [recording|1h|1d] |
fromDate required | string timestamp expected to be epoch long ( milliseconds ). |
toDate required | string timestamp expected to be epoch long ( milliseconds ). |
header Parameters
Authorization required | string Specify the OAuth Bearer token with prefix 'Bearer '. |
Responses
Response Schema: application/json
object | |||||||||||||||||||
| |||||||||||||||||||
object | |||||||||||||||||||
|
Response samples
- 200
- default
{- "payLoad": {
- "accountNumber": "123456",
- "ibx": "ABX",
- "levelType": "ibx",
- "levelValue": "ABX",
- "interval": "1h",
- "data": [
- {
- "datetime": "201701010004",
- "value": "0.147"
}
]
}, - "status": {
- "type": "INFO",
- "statuscode": "1000",
- "msg": "OK"
}
}