Event Webservice

Search motion grid for motion events occuring in specified grid cells

Search motion grid for motion events occuring in specified grid cells. Note: motion grid is a 64x36 grid of cells with the upper left hand corner being (0, 0)

post/api/event/searchMotionGrid

Request

  • Base URL: https://api2.rhombussystems.com
  • URL: https://api2.rhombussystems.com/api/event/searchMotionGrid
  • Auth: API key in header x-auth-apikey

Headers

x-auth-scheme'api-token' | 'api' | 'partner-api-token' | 'partner-api' required

Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.

Request body

deviceUuidstring DeviceFacetUuid nullable required

RUUID with optional appended facet information

endTimeUtcSecsinteger nullable required

End time as a UNIX timestamp in seconds

startTimeUtcSecsinteger nullable required

Start time as a UNIX timestamp in seconds

Example request

{
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
  "endTimeUtcSecs": 1641081600,
  "searchCells": [
    {
      "col": 5,
      "row": 3
    }
  ],
  "startTimeUtcSecs": 1640995200
}

Response

OK

errorboolean nullable
errorCodestring nullable

Stable, machine-readable code for the failure (one of the ApiErrorCode catalog) when error is true. Branch on this, not on errorMsg.

errorMsgstring nullable
timeUtcSecsListinteger[] nullable

List of timestamps where motion was detected in the specified cells

warningMsgstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.