🚧 The Rhombus Developer Documentation is currently in beta. For the official documentation, please visit docs.rhombus.com.
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",
"state": "VACANT",
"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",
"state": "VACANT",
"stateChanged": true,
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"tampered": true,
"timestampMs": 123
}
],
"warningMsg": "<string>"
}Your API key for Rhombus.
Authentication scheme indicator ("api-token").
9Request 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?