The Zone module provides the ability to set certain zones within the 3D space of the Quantum RTLS system, which can conditionally trigger a series of actions from generating a log message, trigger an alarm on the device, or sending a request to a URI.
Response success
Unauthorized access, invalid credentials were used.
[- {
- "SiteID": 501,
- "ZoneID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301",
- "Name": "Keep-out zone",
- "GeometryType": "sphere",
- "GeometryData": [
- [
- 1.1234,
- 5.6789,
- -0.1234
], - [
- -5.6789,
- 0.1234,
- 5.6789
]
], - "MobileOriginSource": "00:11:22:33:44:55",
- "CollidingDevices": [
- {
- "CollisionID": "38f4d02c-7d71-4728-b60d-e4f77c66921b",
- "MAC": "00:AA:BB:CC:DD:EE",
- "EntryTime": "2019-08-24T14:15:22Z"
}
], - "AlertLevel": 3,
- "Active": true,
- "InclusionPolicy": "all",
- "DeviceList": [
- "99:AA:BB:CC:DD:EE",
- "FF:00:11:22:33:DD"
], - "ZoneActions": [
- {
- "type": "info-event",
}
], - "IsGeometryLocked": false,
- "IsTimed": false,
- "StartTime": "2019-08-24T14:15:22Z",
- "StopTime": "2019-08-24T14:15:22Z"
}
]
Create a new zone
Response success
Malformed request.
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Invalid data was sent.
{- "Name": "Keep-out zone",
- "GeometryType": "sphere",
- "GeometryData": [
- [
- 1.1234,
- 5.6789,
- -0.1234
], - [
- -5.6789,
- 0.1234,
- 5.6789
]
], - "MobileOriginSource": "00:11:22:33:44:55",
- "AlertLevel": 3,
- "Active": true,
- "InclusionPolicy": "all",
- "DeviceList": [
- "99:AA:BB:CC:DD:EE",
- "FF:00:11:22:33:DD"
], - "ZoneActions": [
- {
- "type": "info-event",
}
], - "IsTimed": false,
- "StartTime": "2019-08-24T14:15:22Z",
- "StopTime": "2019-08-24T14:15:22Z"
}
{- "SiteID": 501,
- "ZoneID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301",
- "Name": "Keep-out zone",
- "GeometryType": "sphere",
- "GeometryData": [
- [
- 1.1234,
- 5.6789,
- -0.1234
], - [
- -5.6789,
- 0.1234,
- 5.6789
]
], - "MobileOriginSource": "00:11:22:33:44:55",
- "CollidingDevices": [
- {
- "CollisionID": "38f4d02c-7d71-4728-b60d-e4f77c66921b",
- "MAC": "00:AA:BB:CC:DD:EE",
- "EntryTime": "2019-08-24T14:15:22Z"
}
], - "AlertLevel": 3,
- "Active": true,
- "InclusionPolicy": "all",
- "DeviceList": [
- "99:AA:BB:CC:DD:EE",
- "FF:00:11:22:33:DD"
], - "ZoneActions": [
- {
- "type": "info-event",
}
], - "IsGeometryLocked": false,
- "IsTimed": false,
- "StartTime": "2019-08-24T14:15:22Z",
- "StopTime": "2019-08-24T14:15:22Z"
}
Response success
Unauthorized access, invalid credentials were used.
Resource was not found.
{- "SiteID": 501,
- "ZoneID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301",
- "Name": "Keep-out zone",
- "GeometryType": "sphere",
- "GeometryData": [
- [
- 1.1234,
- 5.6789,
- -0.1234
], - [
- -5.6789,
- 0.1234,
- 5.6789
]
], - "MobileOriginSource": "00:11:22:33:44:55",
- "CollidingDevices": [
- {
- "CollisionID": "38f4d02c-7d71-4728-b60d-e4f77c66921b",
- "MAC": "00:AA:BB:CC:DD:EE",
- "EntryTime": "2019-08-24T14:15:22Z"
}
], - "AlertLevel": 3,
- "Active": true,
- "InclusionPolicy": "all",
- "DeviceList": [
- "99:AA:BB:CC:DD:EE",
- "FF:00:11:22:33:DD"
], - "ZoneActions": [
- {
- "type": "info-event",
}
], - "IsGeometryLocked": false,
- "IsTimed": false,
- "StartTime": "2019-08-24T14:15:22Z",
- "StopTime": "2019-08-24T14:15:22Z"
}
Response success
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Resource was not found.
{- "status": 200,
- "success": true
}
Update a zone's settings
Name | string Friendly-name for a specific zone definition. Any JSON string is valid. | ||||||||||||||
GeometryType | string Specifies the shape of the Zone, which also dictates how the GeometryData is interpreted. 2D shapes extend infinitely to all positive and negative Z-coordinate values. | ||||||||||||||
GeometryData | Array of integers non-empty The schema for
| ||||||||||||||
MobileOriginSource | string The MAC address of the device to attach this zone's centre to, allowing the zone to become a moving centroid with latest device position as its centre. | ||||||||||||||
AlertLevel | integer Indicates the numeric alert level of the zone from the lowest priority (0) to the highest priority (+inf). This value determines what types of actions are taken on triggering, ranging from a site-wide alarm, device-level alarm, or a logged-only alarm. | ||||||||||||||
Active | boolean Default: true Indicates whether the Zone is active or inactive. If a Zone is inactive, it will not cause any alarms even if devices enter the zone. | ||||||||||||||
InclusionPolicy | string Default: "all" Specifies the default inclusion policy for devices which may trigger this zone. If set to | ||||||||||||||
DeviceList | Array of strings If | ||||||||||||||
Array of objects (ZoneAction) | |||||||||||||||
IsTimed | boolean Default: false Indicates if the zone is a timed zone. If set, the | ||||||||||||||
StartTime | string <date-time> The date and time indicating the start of the timed zone active timeframe. Only used when the | ||||||||||||||
StopTime | string <date-time> The date and time indicating the end of the timed zone active timeframe. Only used when the |
Response success
Malformed request.
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Resource was not found.
Invalid data was sent.
{- "Name": "Keep-out zone",
- "GeometryType": "sphere",
- "GeometryData": [
- [
- 1.1234,
- 5.6789,
- -0.1234
], - [
- -5.6789,
- 0.1234,
- 5.6789
]
], - "MobileOriginSource": "00:11:22:33:44:55",
- "AlertLevel": 3,
- "Active": true,
- "InclusionPolicy": "all",
- "DeviceList": [
- "99:AA:BB:CC:DD:EE",
- "FF:00:11:22:33:DD"
], - "ZoneActions": [
- {
- "type": "info-event",
}
], - "IsTimed": false,
- "StartTime": "2019-08-24T14:15:22Z",
- "StopTime": "2019-08-24T14:15:22Z"
}
{- "status": 200,
- "success": true
}
Create all listed zones
Name | string Friendly-name for a specific zone definition. Any JSON string is valid. | ||||||||||||||
GeometryType | string Specifies the shape of the Zone, which also dictates how the GeometryData is interpreted. 2D shapes extend infinitely to all positive and negative Z-coordinate values. | ||||||||||||||
GeometryData | Array of integers non-empty The schema for
| ||||||||||||||
MobileOriginSource | string The MAC address of the device to attach this zone's centre to, allowing the zone to become a moving centroid with latest device position as its centre. | ||||||||||||||
AlertLevel | integer Indicates the numeric alert level of the zone from the lowest priority (0) to the highest priority (+inf). This value determines what types of actions are taken on triggering, ranging from a site-wide alarm, device-level alarm, or a logged-only alarm. | ||||||||||||||
Active | boolean Default: true Indicates whether the Zone is active or inactive. If a Zone is inactive, it will not cause any alarms even if devices enter the zone. | ||||||||||||||
InclusionPolicy | string Default: "all" Specifies the default inclusion policy for devices which may trigger this zone. If set to | ||||||||||||||
DeviceList | Array of strings If | ||||||||||||||
Array of objects (ZoneAction) | |||||||||||||||
IsTimed | boolean Default: false Indicates if the zone is a timed zone. If set, the | ||||||||||||||
StartTime | string <date-time> The date and time indicating the start of the timed zone active timeframe. Only used when the | ||||||||||||||
StopTime | string <date-time> The date and time indicating the end of the timed zone active timeframe. Only used when the |
Response success
Malformed request.
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Invalid data was sent.
[- {
- "Name": "Keep-out zone",
- "GeometryType": "sphere",
- "GeometryData": [
- [
- 1.1234,
- 5.6789,
- -0.1234
], - [
- -5.6789,
- 0.1234,
- 5.6789
]
], - "MobileOriginSource": "00:11:22:33:44:55",
- "AlertLevel": 3,
- "Active": true,
- "InclusionPolicy": "all",
- "DeviceList": [
- "99:AA:BB:CC:DD:EE",
- "FF:00:11:22:33:DD"
], - "ZoneActions": [
- {
- "type": "info-event",
}
], - "IsTimed": false,
- "StartTime": "2019-08-24T14:15:22Z",
- "StopTime": "2019-08-24T14:15:22Z"
}
]
[- {
- "SiteID": 501,
- "ZoneID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301",
- "Name": "Keep-out zone",
- "GeometryType": "sphere",
- "GeometryData": [
- [
- 1.1234,
- 5.6789,
- -0.1234
], - [
- -5.6789,
- 0.1234,
- 5.6789
]
], - "MobileOriginSource": "00:11:22:33:44:55",
- "CollidingDevices": [
- {
- "CollisionID": "38f4d02c-7d71-4728-b60d-e4f77c66921b",
- "MAC": "00:AA:BB:CC:DD:EE",
- "EntryTime": "2019-08-24T14:15:22Z"
}
], - "AlertLevel": 3,
- "Active": true,
- "InclusionPolicy": "all",
- "DeviceList": [
- "99:AA:BB:CC:DD:EE",
- "FF:00:11:22:33:DD"
], - "ZoneActions": [
- {
- "type": "info-event",
}
], - "IsGeometryLocked": false,
- "IsTimed": false,
- "StartTime": "2019-08-24T14:15:22Z",
- "StopTime": "2019-08-24T14:15:22Z"
}
]
List of updated zone's settings
Name | string Friendly-name for a specific zone definition. Any JSON string is valid. | ||||||||||||||
GeometryType | string Specifies the shape of the Zone, which also dictates how the GeometryData is interpreted. 2D shapes extend infinitely to all positive and negative Z-coordinate values. | ||||||||||||||
GeometryData | Array of integers non-empty The schema for
| ||||||||||||||
MobileOriginSource | string The MAC address of the device to attach this zone's centre to, allowing the zone to become a moving centroid with latest device position as its centre. | ||||||||||||||
AlertLevel | integer Indicates the numeric alert level of the zone from the lowest priority (0) to the highest priority (+inf). This value determines what types of actions are taken on triggering, ranging from a site-wide alarm, device-level alarm, or a logged-only alarm. | ||||||||||||||
Active | boolean Default: true Indicates whether the Zone is active or inactive. If a Zone is inactive, it will not cause any alarms even if devices enter the zone. | ||||||||||||||
InclusionPolicy | string Default: "all" Specifies the default inclusion policy for devices which may trigger this zone. If set to | ||||||||||||||
DeviceList | Array of strings If | ||||||||||||||
Array of objects (ZoneAction) | |||||||||||||||
IsTimed | boolean Default: false Indicates if the zone is a timed zone. If set, the | ||||||||||||||
StartTime | string <date-time> The date and time indicating the start of the timed zone active timeframe. Only used when the | ||||||||||||||
StopTime | string <date-time> The date and time indicating the end of the timed zone active timeframe. Only used when the |
Response success
Malformed request.
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Resource was not found.
Invalid data was sent.
[- {
- "Name": "Keep-out zone",
- "GeometryType": "sphere",
- "GeometryData": [
- [
- 1.1234,
- 5.6789,
- -0.1234
], - [
- -5.6789,
- 0.1234,
- 5.6789
]
], - "MobileOriginSource": "00:11:22:33:44:55",
- "AlertLevel": 3,
- "Active": true,
- "InclusionPolicy": "all",
- "DeviceList": [
- "99:AA:BB:CC:DD:EE",
- "FF:00:11:22:33:DD"
], - "ZoneActions": [
- {
- "type": "info-event",
}
], - "IsTimed": false,
- "StartTime": "2019-08-24T14:15:22Z",
- "StopTime": "2019-08-24T14:15:22Z"
}
]
{- "status": 200,
- "success": true
}
Remove all zones that have the same zone IDs contained in the list
Zone ID
Response success
Malformed request.
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Resource was not found.
Invalid data was sent.
[- "0bf650c2-3b03-447b-8b1a-4eacb09b04cb",
- "2bcaef97-f6c7-4017-ba3b-a6b677d4b806"
]
{- "status": 200,
- "success": true
}
Activate zones in the request body
Zone ID
Response success
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Resource was not found.
[- "0bf650c2-3b03-447b-8b1a-4eacb09b04cb",
- "2bcaef97-f6c7-4017-ba3b-a6b677d4b806"
]
{- "status": 200,
- "success": true
}
Deactivate zones in the request body
Zone ID
Response success
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Resource was not found.
[- "0bf650c2-3b03-447b-8b1a-4eacb09b04cb",
- "2bcaef97-f6c7-4017-ba3b-a6b677d4b806"
]
{- "status": 200,
- "success": true
}
Response success
Malformed request.
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Resource was not found.
Invalid data was sent.
[- "00:11:22:33:44:55",
- "66:77:88:99:00:AA"
]
{- "status": 200,
- "success": true
}
Response success
Malformed request.
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Resource was not found.
Invalid data was sent.
[- "00:11:22:33:44:55",
- "66:77:88:99:00:AA"
]
{- "status": 200,
- "success": true
}
Response success
Unauthorized access, invalid credentials were used.
[- {
- "SettingName": "SafetyBuffer",
- "SettingValue": "0.15",
- "Description": "Enabling this will create a buffer zone to alert an employee to an at risk zone entry",
- "DisplayName": "Global Safety Buffer",
- "IsActive": true
}
]
Response success
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Resource was not found.
{- "SettingName": "SafetyBuffer",
- "SettingValue": "0.15",
- "Description": "Enabling this will create a buffer zone to alert an employee to an at risk zone entry",
- "DisplayName": "Global Safety Buffer",
- "IsActive": true
}
{- "status": 200,
- "success": true
}
Response success
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Resource was not found.
{- "00:AA:BB:CC:DD:EE": 0.1
}
{- "status": 200,
- "success": true
}
Response success
Unauthorized access, invalid credentials were used.
Access forbidden. Current token does not have the necessary authority for the operation.
Resource was not found.
{- "status": 200,
- "success": true
}