Zones
Zones displays a tree of floor plans that have floors as child elements, and floors, in turn, have zones as child elements.
URI Definition
Method | URI and Fields | ||||||||||||||||
GET
| /iap/zones | ||||||||||||||||
Retrieves all zones that the current user is permitted to read. This method allows pagination. Query Parameters
Return Code
Example
| |||||||||||||||||
/iap/zones/{zone} | |||||||||||||||||
Retrieves all zones that the current user is permitted to read. Path ParametersFor a description of the valid path parameters, see Zone Path Parameters at the bottom of this page. Query Parameters
Return Code
Example
| |||||||||||||||||
/iap/zones/count | |||||||||||||||||
Retrieves the number of zones. Query Parameters
Return Code
| |||||||||||||||||
/iap/zones/{id} | |||||||||||||||||
Retrieves a zone by ID. Path Parameter
Return Codes
| |||||||||||||||||
/iap/zones/{id}/children | |||||||||||||||||
Retrieves a collection of child zones for the specified zone. Path Parameter
Query Parameters
Return Codes
| |||||||||||||||||
/iap/zones/roots | |||||||||||||||||
Retrieves a collection of root zones. Query Parameters
Return Code
| |||||||||||||||||
PUT
| /iap/zones/delete | ||||||||||||||||
Deletes zones by list of IDs. Query Parameter
BodyContains the list of IDs. Body Example
Return Codes
| |||||||||||||||||
/iap/zones/{id} | |||||||||||||||||
Updates an existed zone by ID with the specified properties. Path Parameter
Parameters
Example
Return Codes
| |||||||||||||||||
POST
| /iap/zones/child | ||||||||||||||||
Creates a child zone with the specified properties. Query Parameter
Parameters
Example
Return Codes
| |||||||||||||||||
/iap/zones/root | |||||||||||||||||
Creates a root zone with the specified properties. Parameters
Example
Return Codes
|
Query and Path Parameters
Optional query parameters can be used with your REST request. Specifying queries is described under Queries and Parameters.
Zone Path Parameters
The following list describes the optional path parameters for the zones endpoints.
Path Parameter | Description |
---|---|
device.name | Filters for zones that contain devices with the specified name |
floor.id | Filters for zones located on a floor with the specified ID |
floor.name | Filters for zones located on a floor with the specified name |
floorplan.id | Filters for zones located in a floorplan with the specified ID |
floorplan.name | Filters for zones located in a floorplan with the specified name |
geozone.id | Filters for zones located in a geozone with the specified ID |
geozone.name | Filters for zones located in a geozone with the specified name |
groups.id | Filters for zones that contain devices that belong to a group with the specified ID |
groups.name | Filters for zones that contain devices that belong to a group with the specified name |
id | Filters for zones with the specified zone ID |
name | Filters for zones with the specified name |
scId | Filters for zones that contain devices connected to an Edge Server with the specified ID |
scName | Filters for zones that contain devices connected to an Edge Server with the specified name |