Get All Floors API¶
Returns the list of all floors in the building of an organization.
Request¶
GET https://{em_ip_address_or_hostname}/ems/api/org/floor/v1/list
Parameters¶
Name | Description |
---|---|
Request | |
em_ip_address_or_hostname | The Enlighted Manage (EM) IP address or hostname |
Response | |
id** | Floor identifier (**used as the primary identifier in other API calls) |
name | Floor name as described in Manage |
buildingName | Building name |
campusName | Campus name |
organization | Organization name |
description | Floor description; this field will be empty if it is not described in Manage |
floorPlanUrl | Floor plan image name. If the floor plan does not have a name, it is returned as default_floor_plan.gif |
Sample Request¶
Send a request to return the list of all floors in the building. For example, if the Main building in Hampton campus has three floors: First Floor, Second Floor, and Third Floor, the response will include details for all three floors.
GET https://192.80.3.2/ems/api/org/floor/v1/list
Sample Response¶
{
"floor": [
{
"id": "1",
"name": "First Floor",
"buildingName": "Main Building",
"campusName": "Hampton Campus",
"organization": "Acme Inc",
"description": "Sales and Marketing",
"floorPlanUrl": "Main_bldg_flr1.jpg"
},
{
"id": "2",
"name": "Second Floor",
"buildingName": "Main Building",
"campusName": "Hampton Campus",
"organization": "Acme Inc",
"description": "Engineering and Product",
"floorPlanUrl": "Main_bldg_flr2.jpg"
},
{
"id": "3",
"name": "Third Floor",
"buildingName": "Main Building",
"campusName": "Hampton Campus",
"organization": "Acme Inc",
"description": "Finance",
"floorPlanUrl": "Main_bldg_flr3.jpg"
}
]
}