Skip to main content
POST
/
api
/
report
/
getCountReportV2
Get count report V2
curl --request POST \
  --url https://api2.rhombussystems.com/api/report/getCountReportV2 \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "interval": "MINUTELY",
  "scope": "REGION",
  "types": [
    "CROWD"
  ],
  "endDate": "<string>",
  "endTimeMs": 1,
  "startDate": "<string>",
  "startTimeMs": 1,
  "timeZone": "America/Los_Angeles",
  "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "timeSeriesDataPoints": [
    {
      "dateLocal": "<string>",
      "dateUtc": "<string>",
      "eventCountMap": {}
    }
  ],
  "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 V2.

interval
enum<string> | null
required

Time intervals to get reports for

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

Level of granularity to get reports for

Available options:
REGION,
DEVICE,
LOCATION,
ORG
types
(enum<string> | null)[] | null
required

Types of reports to receive

Types of reports to receive

Available options:
CROWD,
PEOPLE,
FACES,
MOTION,
BANDWIDTH,
VEHICLES,
LICENSEPLATES,
ALERTS,
AM_VERIFICATION,
DWELL
endDate
string | null
deprecated

Deprecated input, use endTimeMs instead

endTimeMs
integer<int64> | null

End datetime provided as a UNIX timestamp in milliseconds

Required range: x >= 0
startDate
string | null
deprecated

Deprecated input, use startTimeMs instead

startTimeMs
integer<int64> | null

Start datetime provided as a UNIX timestamp in milliseconds

Required range: x >= 0
timeZone
string | null

String of timezone for bucketing

Example:

"America/Los_Angeles"

uuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

Response

200 - application/json

OK

Response object for getting count reports.

error
boolean | null
errorMsg
string | null
timeSeriesDataPoints
object[] | null

List of time series data points for count report

warningMsg
string | null