Skip to main content
POST
/
api
/
report
/
getMostRecentPeopleCountEvents
Get most recent people count events
curl --request POST \
  --url https://api2.rhombussystems.com/api/report/getMostRecentPeopleCountEvents \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
  "numMostRecent": 10
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "events": [
    {
      "boundingBoxes": [
        {
          "bottom": 123,
          "left": 123,
          "right": 123,
          "top": 123
        }
      ],
      "deviceLabels": [
        "<string>"
      ],
      "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
      "eventTimestamp": 123,
      "imageS3Key": "<string>",
      "locationLabels": [
        "<string>"
      ],
      "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "peopleCount": 123,
      "subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
      "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
    }
  ],
  "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 most recent people count.

deviceUuid
string<DeviceFacetUuid> | null

RUUID with optional appended facet information

Example:

"AAAAAAAAAAAAAAAAAAAAAA.v0"

numMostRecent
integer<int32> | null

Number of most recent people counts to retrieve

Example:

10

Response

200 - application/json

OK

Response object for getting most recent people count.

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

List of people count events

warningMsg
string | null