GET api/locations/{LocationID}/SecuritySystem/zones
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
LocationID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ZoneStatusDetailsExName | Description | Type | Additional information |
---|---|---|---|
zones | Collection of ZoneStatusDetailsInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "zones": [ { "name": "sample string 1", "bypassable": true, "id": 3, "zoneStatus": "Normal", "typeId": 4 }, { "name": "sample string 1", "bypassable": true, "id": 3, "zoneStatus": "Normal", "typeId": 4 } ] }
application/xml, text/xml
Sample:
<ZoneStatusDetailsEx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2API.Resource.Models"> <zones> <ZoneStatusDetailsInfo> <id>3</id> <typeId>4</typeId> <zoneStatus>Normal</zoneStatus> <bypassable>true</bypassable> <name>sample string 1</name> </ZoneStatusDetailsInfo> <ZoneStatusDetailsInfo> <id>3</id> <typeId>4</typeId> <zoneStatus>Normal</zoneStatus> <bypassable>true</bypassable> <name>sample string 1</name> </ZoneStatusDetailsInfo> </zones> </ZoneStatusDetailsEx>