Skip to main content
Skip table of contents

Report on cameras for the period

Report on cameras for the period

After receiving a successful response, a Websockets push with the type 'generate_report' is sent, containing a link to download the report

POST /api/admin/v1/reports?type=cameras_for_range

Method parameters

date from, start date

date to, expiration date

201 Created

Successful response

    "id": 6438,
    "type": "cameras_for_range",
    "from": "2020-05-24",
    "to": "2021-05-24",
    "url": "",
    "created_at": "2023-03-09T13:15:35.000000Z"

401 Unauthorized

Authorization token is not provided or is invalid. Obtaining a token

curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/reports?type=cameras_for_range' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "from": "date",
    "to": "date"
$data = array (
  'from' => 'date',
  'to' => 'date',
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'POST',
		'header' => "Content-Type: application/json\r
Accept: application/json",
$result = file_get_contents('https://your-domain/api/admin/v1/reports?type=cameras_for_range', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.