From OpenDCIM Wiki
Revision as of 15:13, 23 December 2015 by Scott (Talk | contribs) (Created page with "= Cabinets = <nowiki> { "error": false, "errorcode": 200, "cabinet": [ { "CabinetID": "578", "DataCenterID": "7", "Lo...")
Cabinets
{
"error": false,
"errorcode": 200,
"cabinet": [
{
"CabinetID": "578",
"DataCenterID": "7",
"Location": "E102.AJ48",
"LocationSortable": "E102.AJ48",
"AssignedTo": "3",
"ZoneID": "9",
"CabRowID": "13",
"CabinetHeight": "50",
"Model": "DDN",
"Keylock": "",
"MaxKW": "14.4",
"MaxWeight": "2500",
"InstallationDate": "2013-05-23",
"MapX1": "696",
"MapY1": "179",
"MapX2": "729",
"MapY2": "204",
"FrontEdge": "Left",
"Notes": "",
"U1Position": "Bottom",
"Rights": "Write",
"DataCenterName": "5600 E102"
}
]
}
- /cabinet
- Method GET
- Parameters none
- Specific Permission Required none
This URI will return a collection of all cabinets defined within openDCIM. There is a corresponding Entity URL for retrieving a single entity.
- /cabinet/bydc/:datacenterid
- Method GET
- Parameters DataCenterID
- Specific Permission Required none
This URI will return a collection of all cabinets, if any, that are defined within openDCIM as belonging to the specified DataCenterID.
- /cabinet/bydept/:departmentid
- Method GET
- Parameters DepartmentID
- Specific Permission Required none
This URI will return a collection of all cabinets, if any, that are defined within openDCIM as belonging to the specified DepartmentID.