Download OpenAPI specification:Download
Returns all Counters that can be accessed using your API key, optionally filtered by type.
limit | integer Default: 25 Maximum number of records to return |
offset | integer Default: "0" Number of records to skip |
type | string Type of Counter |
{- "maxRecords": 0,
- "items": [
- {
- "id": 0,
- "status": "CONNECTED",
- "type": "THERMAL_COUNTER",
- "name": "string",
- "macAddress": "string",
- "lastKnownOccupants": "string",
- "createdAt": "string",
- "updatedAt": "string"
}
]
}
Returns all Zones your API key can access.
limit | integer Default: 25 Maximum number of records to return |
offset | integer Default: "0" Number of records to skip |
[- {
- "id": 0,
- "reportingType": "string",
- "name": "string",
- "description": "string",
- "amberThreshold": 0,
- "redThreshold": 0,
- "lastKnownOccupants": 0,
- "countStart": "string",
- "countEnd": "string",
- "createdAt": "string",
- "updatedAt": "string"
}
]
Finds and returns a Counter by ID
id required | number ID of the Counter to retrieve |
{- "id": 0,
- "status": "CONNECTED",
- "type": "THERMAL_COUNTER",
- "name": "string",
- "macAddress": "string",
- "lastKnownOccupants": "string",
- "createdAt": "string",
- "updatedAt": "string"
}
Submit a footfall reading
id required | number ID of the Counter |
incomingCount required | integer Number of people counted entering |
outgoingCount required | integer Number of people counted exiting |
{- "incomingCount": 0,
- "outgoingCount": 0
}
{- "success": true
}
Submit an occupancy reading
id required | number ID of the Counter |
occupants required | integer Number of occupants |
{- "occupants": 0
}
{- "success": true
}
Finds and returns a Zone by ID
id required | number ID of the Zone to retrieve |
{- "id": 0,
- "reportingType": "string",
- "name": "string",
- "description": "string",
- "amberThreshold": 0,
- "redThreshold": 0,
- "lastKnownOccupants": 0,
- "countStart": "string",
- "countEnd": "string",
- "createdAt": "string",
- "updatedAt": "string"
}