curl --request POST \
--url https://api2.rhombussystems.com/api/occupancy/getOccupancyEventsForSensor \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"createdAfterMs": 1640908800000,
"createdBeforeMs": 1640995200000,
"limit": 100,
"sensorUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'{
"error": true,
"errorMsg": "<string>",
"events": [
{
"baseStationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"batteryPercentage": 123,
"bleDeviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"bleRssi": 123,
"closeBaseStations": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"lux": 123,
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"stateChanged": true,
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"tampered": true,
"timestampMs": 123
}
],
"warningMsg": "<string>"
}Get recent events for specified proximity tag
curl --request POST \
--url https://api2.rhombussystems.com/api/occupancy/getOccupancyEventsForSensor \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"createdAfterMs": 1640908800000,
"createdBeforeMs": 1640995200000,
"limit": 100,
"sensorUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'{
"error": true,
"errorMsg": "<string>",
"events": [
{
"baseStationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"batteryPercentage": 123,
"bleDeviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"bleRssi": 123,
"closeBaseStations": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"lux": 123,
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"stateChanged": true,
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"tampered": true,
"timestampMs": 123
}
],
"warningMsg": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://api-docs.rhombus.community/llms.txt
Use this file to discover all available pages before exploring further.
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
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.
api-token, api, partner-api-token, partner-api Request object for getting occupancy events for a specific sensor.
Filter events created after this timestamp (milliseconds since epoch)
1640908800000
Filter events created before this timestamp (milliseconds since epoch)
1640995200000
Maximum number of events to return
100
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Was this page helpful?