Download OpenAPI specification:Download
Empower yourself with Smart View Hierarchy APIs. Use these APIs to obtain location and power hierarchy for invoking other APIs. Given an account number, IBX code, and an asset Id, returns the corresponding location and power hierarchy of related assets. Required query parameters to obtain a valid response from these endpoints are account number and IBX code.
The location hierarchy endpoint returns the location hierarchy. This endpoint provides data for invoking other APIs such as Environmental APIs that require location hierarchy information.
accountNo required | string Customer Account Number |
ibx | string IBX Code |
Authorization required | string Specify the OAuth Bearer token with prefix 'Bearer '. |
Authorization required | string Specify the Access token with prefix 'Bearer'. |
levelType | string Enum: "ibx" "zone" "cage" "cabinet" "sensor" levelType indicates which level in the location hierarchy does the node belong to. |
levelValue | string ibx code, zone us id, cage us id, cabinet us id, sensor number for levelType ibx, zone, cage, cabinet, sensor resp. |
label | string ibx code, zone unique space id, cage unique space id, cabinet unique space id, sensor number for levelType ibx, zone, cage, cabinet, sensor resp. |
children | Array of objects (HierarchyNode) |
[- {
- "levelType": "ibx",
- "levelValue": "SV5",
- "label": "SV5",
- "children": [
- {
- "levelType": "ZONE",
- "levelValue": "XY3:1:03:LocoArea:1",
- "label": "XY3:1:03:LocoArea:1",
- "children": [
- {
- "levelType": "CAGE",
- "levelValue": "495",
- "label": "XY3:03:021720",
- "children": [
- {
- "levelType": "CABINET",
- "levelValue": "105734",
- "label": "XY3:03:021720:V0101:0199",
- "children": [ ]
}
]
}, - {
- "levelType": "CAGE",
- "levelValue": "506",
- "label": "XY3:03:020900",
- "children": [
- {
- "levelType": "CABINET",
- "levelValue": "13781",
- "label": "XY3:03:020900:1010",
- "children": [ ]
}, - {
- "levelType": "CABINET",
- "levelValue": "13782",
- "label": "XY3:03:020900:1012",
- "children": [ ]
}
]
}
]
}, - {
- "levelType": "ZONE",
- "levelValue": "XY3:1:03:Select Room:1",
- "label": "XY3:1:03:Select Room:1",
- "children": [
- {
- "levelType": "CAGE",
- "levelValue": "61274",
- "label": "XY3:03:FE21720",
- "children": [
- {
- "levelType": "CABINET",
- "levelValue": "105901",
- "label": "XY3:03:FE21720:9999",
- "children": [ ]
}
]
}, - {
- "levelType": "CAGE",
- "levelValue": "61275",
- "label": "XY3:03:FE50010",
- "children": [
- {
- "levelType": "CABINET",
- "levelValue": "105958",
- "label": "XY3:03:FE50010:9999",
- "children": [ ]
}, - {
- "levelType": "CABINET",
- "levelValue": "139905",
- "label": "XY3:03:FE50010:0000",
- "children": [ ]
}
]
}
]
}, - {
- "levelType": "ZONE",
- "levelValue": "XY3:2:03:LocoArea:1",
- "label": "XY3:2:03:LocoArea:1",
- "children": [
- {
- "levelType": "CAGE",
- "levelValue": "5902",
- "label": "XY3:03:021200",
- "children": [
- {
- "levelType": "CABINET",
- "levelValue": "102563",
- "label": "XY3:03:021200:0101",
- "children": [ ]
}, - {
- "levelType": "CABINET",
- "levelValue": "102564",
- "label": "XY3:03:021200:0102",
- "children": [ ]
}
]
}
]
}
]
}
]
The power hierarchy endpoint returns the power hierarchy. This endpoint provides data for invoking other APIs such as Power APIs that require power hierarchy information.
accountNo required | string Customer Account Number |
ibx | string IBX Code |
Authorization required | string Specify the OAuth Bearer token with prefix 'Bearer '. |
Authorization required | string Specify the Access token with prefix 'Bearer'. |
levelType | string Enum: "ibx" "cage" "cabinet" "circuit" levelType indicates which level in the power hierarchy does the node belong to. |
levelValue | string ibx code, cage us id, cabinet us id, circuit number for levelType ibx, cage, cabinet, circuit resp. |
label | string ibx code, cage unique space id, cabinet unique space id, circuit label for levelType ibx, cage, cabinet, circuit resp. |
children | Array of objects (PowerHierarchyNode) ibx, cage, cabinet nodes can have cage, cabinet and circuit, circuit nodes as children respectively. |
[- {
- "levelType": "IBX",
- "levelValue": "XY1",
- "label": "XY1",
- "children": [
- {
- "levelType": "CAGE",
- "levelValue": "5902",
- "label": "XY1:06:061600",
- "children": [
- {
- "levelType": "CABINET",
- "levelValue": "102563",
- "label": "XY1:06:061600:0101",
- "children": [
- {
- "levelType": "CIRCUIT",
- "levelValue": "XYZA3693",
- "label": "208V 20A 1Ph Red (3693)",
- "children": [ ]
}
]
}, - {
- "levelType": "CABINET",
- "levelValue": "102564",
- "label": "XY1:06:061600:0102",
- "children": [
- {
- "levelType": "CIRCUIT",
- "levelValue": "XYZA3694",
- "label": "208V 20A 1Ph Red (3694)",
- "children": [ ]
}, - {
- "levelType": "CIRCUIT",
- "levelValue": "XYZA3692",
- "label": "208V 20A 1Ph Pri (3692)",
- "children": [ ]
}
]
}, - {
- "levelType": "CABINET",
- "levelValue": "102582",
- "label": "XY1:06:061600:0302",
- "children": [
- {
- "levelType": "CIRCUIT",
- "levelValue": "XYZE7863",
- "label": "120V 30A 1Ph Red (7863)",
- "children": [ ]
}, - {
- "levelType": "CIRCUIT",
- "levelValue": "XYZE7862",
- "label": "120V 30A 1Ph Pri (7862)",
- "children": [ ]
}
]
}, - {
- "levelType": "CABINET",
- "levelValue": "102587",
- "label": "XY1:06:061600:0307",
- "children": [
- {
- "levelType": "CIRCUIT",
- "levelValue": "XYZG4836",
- "label": "208V 20A 1Ph Red (4836)",
- "children": [ ]
}
]
}
]
}, - {
- "levelType": "CAGE",
- "levelValue": "60442",
- "label": "XY1:06:063000",
- "children": [
- {
- "levelType": "CABINET",
- "levelValue": "100798",
- "label": "XY1:06:063000:0101",
- "children": [
- {
- "levelType": "CIRCUIT",
- "levelValue": "XYZH2630",
- "label": "120V 20A 1Ph Red (2630)",
- "children": [ ]
}, - {
- "levelType": "CIRCUIT",
- "levelValue": "XYZH2629",
- "label": "120V 20A 1Ph Pri (2629)",
- "children": [ ]
}
]
}
]
}
]
}
]