Skip to main content
POST
/
api
/
vehicle
/
getRecentVehicleEventsByLocation
Get recent vehicle events by location
curl --request POST \
  --url https://api2.rhombussystems.com/api/vehicle/getRecentVehicleEventsByLocation \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "endTimeMs": 1640998800000,
  "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "startTimeMs": 1640995200000
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "events": [
    {
      "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
      "eventTimestamp": 123,
      "imageS3Key": "<string>",
      "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "matchingLicensePlates": [
        "<string>"
      ],
      "name": "<string>",
      "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "partialLicensePlates": [
        "<string>"
      ],
      "subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
      "thumbnailS3Key": "<string>",
      "uuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "vehicleLicensePlate": "<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 recent vehicle events by location (deprecated).

endTimeMs
integer<int64> | null

End time in milliseconds for the query period

Example:

1640998800000

locationUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

startTimeMs
integer<int64> | null

Start time in milliseconds for the query period

Example:

1640995200000

Response

200 - application/json

OK

Response object containing recent vehicle events by location (deprecated).

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

List of recent vehicle events for the location

warningMsg
string | null