Occupancy Webservice

Get occupancy presence windows

Get stored video information for sensor

post/api/occupancy/getOccupancyPresenceWindows

Request

  • Base URL: https://api2.rhombussystems.com
  • URL: https://api2.rhombussystems.com/api/occupancy/getOccupancyPresenceWindows
  • 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 RUUID nullable

base 64 (url-safe) uuid string

durationSecinteger nullable

Duration in seconds for the presence window query

startTimeSecinteger nullable

Start time in seconds for the presence window query

Example request

{
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "durationSec": 3600,
  "startTimeSec": 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
warningMsgstring nullable

Changes

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