Get occupancy counts
Returns the estimated occupancy count for a specified room or area within a given time range. This endpoint allows you to monitor occupancy trends over time or retrieve a single count for a defined interval. Important: An occupancy region must be defined in the Rhombus Console before using this endpoint. You can optionally specify an interval (e.g., MINUTELY, QUARTERHOURLY, HOURLY ...) to retrieve occupancy counts broken down by sub-intervals between startTime and endTime. If no interval is provided, a single occupancy count is returned for the entire duration between startTime and endTime.
Request
- Base URL: https://api2.rhombussystems.com
- URL: https://api2.rhombussystems.com/api/report/getOccupancyCounts
- Auth: API key in header x-auth-apikey
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
Request body
Example request
{
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"endTimeMs": 1640998800000,
"startTimeMs": 1640995200000
}Response
OK
Example response
{
"timeSeriesDataPoints": [
{
"timestampMs": 1640995200000
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.