Camera Webservice

Get camera uptime windows in batch

Get uptime windows for all (or selected) cameras in the organization in a single call

post/api/camera/getUptimeWindowsForOrg

Request

  • Base URL: https://api2.rhombussystems.com
  • URL: https://api2.rhombussystems.com/api/camera/getUptimeWindowsForOrg
  • 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

deviceUuidsstring[] nullable

Optional list of device UUIDs to include. When omitted or empty, all devices of the endpoint's type in the organization are included.

endTimeMsinteger nullable

End time in milliseconds since epoch

startTimeMsinteger nullable

Start time in milliseconds since epoch

Example request

{
  "deviceUuids": [
    "AAAAAAAAAAAAAAAAAAAAAA"
  ],
  "endTimeMs": 1643673600000,
  "startTimeMs": 1640995200000
}

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

Example response

{
  "uptimeByDevice": [
    {
      "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA"
    }
  ]
}

Changes

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