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.
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.
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. |
Authorization required | string Specify the OAuth Bearer token with prefix 'Bearer '. |
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
{- "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"
}
}
The powerdata endpoint returns power consumption info for all values of input level type ibx, cage, cabinet or circuit.
Authorization required | string Specify the OAuth Bearer token with prefix 'Bearer '. |
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] |
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
{- "accountNo": "1234",
- "ibx": "0.147",
- "levelType": "0.147"
}
{- "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"
}
}
The trending power data for draw kVA to max allowed (%) for input ibx, cage, cabinet, circuit.
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 ). |
Authorization required | string Specify the OAuth Bearer token with prefix 'Bearer '. |
object | |||||||||||||||||||
| |||||||||||||||||||
object | |||||||||||||||||||
|
{- "payLoad": {
- "accountNumber": "123456",
- "ibx": "ABX",
- "levelType": "ibx",
- "levelValue": "ABX",
- "interval": "1h",
- "data": [
- {
- "datetime": "201701010004",
- "value": "0.147"
}
]
}, - "status": {
- "type": "INFO",
- "statuscode": "1000",
- "msg": "OK"
}
}