Skip to main content
POST
/
api
/
report
/
getThresholdCrossingCountReport
Get threshold crossing count report
curl --request POST \
  --url https://api2.rhombussystems.com/api/report/getThresholdCrossingCountReport \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "bucketSize": "QUARTER_HOUR",
  "crossingObject": "HUMAN",
  "dedupe": true,
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
  "endTimeMs": 1640998800000,
  "startTimeMs": 1640995200000
}
'
{
  "crossingCounts": [
    {
      "egressCount": 123,
      "ingressCount": 123,
      "timestampMs": 123
    }
  ],
  "error": true,
  "errorMsg": "<string>",
  "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 threshold crossing count reports.

bucketSize
enum<string> | null

Size of the report buckets

Available options:
QUARTER_HOUR,
HOUR,
DAY,
WEEK,
MONTH
crossingObject
enum<string> | null

Type of crossing object to count

Available options:
HUMAN,
VEHICLE,
FACE,
LPR,
POSE,
CLIP_EMBED,
UNKNOWN
dedupe
boolean | null

Whether to deduplicate the results

Example:

true

deviceUuid
string<DeviceFacetUuid> | null

RUUID with optional appended facet information

Example:

"AAAAAAAAAAAAAAAAAAAAAA.v0"

endTimeMs
integer<int64> | null

End time in milliseconds

Example:

1640998800000

startTimeMs
integer<int64> | null

Start time in milliseconds

Example:

1640995200000

Response

200 - application/json

OK

Response object for getting threshold crossing count reports.

crossingCounts
object[] | null

List of crossing counts

error
boolean | null
errorMsg
string | null
warningMsg
string | null