Skip to main content
POST
/
api
/
report
/
getCountReportsForDevicesAtLocation
Get count reports for devices at location
curl --request POST \
  --url https://api2.rhombussystems.com/api/report/getCountReportsForDevicesAtLocation \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "endTimeMs": 1,
  "interval": "MINUTELY",
  "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "startTimeMs": 1,
  "type": "CROWD"
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "timeSeriesDataPointsMap": {},
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request object for getting count reports for devices at a specific location.

endTimeMs
integer<int64> | null
required

End timestamp in epoch milliseconds.

Required range: x >= 0
interval
enum<string> | null
required

Level of granularity with which event counts are grouped.

Available options:
MINUTELY,
QUARTERHOURLY,
HOURLY,
DAILY,
WEEKLY,
MONTHLY
locationUuid
string<RUUID> | null
required

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

startTimeMs
integer<int64> | null
required

Start timestamp in epoch milliseconds.

Required range: x >= 0
type
enum<string> | null
required

Type of event to get counts for.

Available options:
CROWD,
PEOPLE,
FACES,
MOTION,
BANDWIDTH,
VEHICLES,
LICENSEPLATES,
ALERTS,
AM_VERIFICATION,
DWELL

Response

200 - application/json

OK

Response object for getting count reports.

error
boolean | null
errorMsg
string | null
timeSeriesDataPointsMap
object

Map of UUIDs to their time series data points

warningMsg
string | null