Skip to main content

Radar Properties

The VAPIX® Radar Properties API makes it possible to inspect a multitude of radar properties, including the minimum and maximum detection ranges, the number of radar objects, object speed, pairing status and more.

Overview

Identification

  • API Discovery: id=radar-properties
  • Parameter Properties.Radar.Properties.Version

Limitations

This API is available on all Axis devices with radar support.

Use cases

The following example will show you how to fetch all radar characteristics. Additional details can be found in the API Specifications below.

  1. Send a getRadarProperties request to check which capabilities are available on the radar. Examples on properties include radar detection range and angle settings.

API Specifications

getRadarProperties

Retrieve all radar properties.

Request

POST /properties.cgi#getRadarProperties
{
"apiVersion": "1.0",
"context": "my context",
"method": "getRadarProperties"
}
ParameterExample valueDescription
apiVersion=<string>1.0The API version that is used in the request.
context=<string>
Optional
my contextThe user sets this value in the request and the application will echo it back in the response.
method="getRadarProperties"The API method that is called in the request.

Responses

Successful response

{
"apiVersion": "1.0",
"context": "my context",
"method": "getRadarProperties"
"data": {
"device": "D2210-VE",
"minDetectionRange": 10,
"maxDetectionRange": 100,
"minHorizontalAngle": -30,
"maxHorizontalAngle": 30,
"minVerticalAngle": -20,
"maxVerticalAngle": 20,
"maxRadarObjects": 50,
"maxObjectSpeed": 120.5,
"networkPaired": true
}
}
ParameterExample valueDescription
apiVersion=<string>1.0The API version used in the request.
context=<string>
Optional
my contextThe context set by the user in the request.
method="getRadarProperties"The requested API method.
device=<string>"D2210-VE"The product number of the radar device.
minDetectionRange=<integer>10The minimum detection range.
maxDetectionRange=<integer>100The maximum detection range.
minHorizontalAngle=<integer>-30The minimum horizontal angle.
maxHorizontalAngle=<integer>30The maximum horizontal angle.
minVerticalAngle=<integer>-20The minimum vertical angle.
maxVerticalAngle=<integer>20The maximum vertical angle.
maxRadarObjects=<integer>50The maximum number of radar objects.
maxObjectSpeed=<number>120.5The maximum object speed.
networkPaired=<boolean>trueChecks if the radar device is paired with another device. Can be either true or false.

Error response

400 Bad request

Status: 400 Bad Request
Content-Type: text/plain

500 Internal server error

500 Internal server error
Content-Type: text/plain
{
"apiVersion": "1.0",
"context": "my context",
"method": "getRadarProperties",
"error": {
"code": 1100,
"message": "Internal error."
}
}
ParameterExample valueDescription
apiVersion=<string>1.0The API version used in the request.
context=<string>
Optional
my contextThe context set by the user in the request.
method="getRadarProperties"The requested API method.
error.code=<integer>1100The error code.
error.message=<string>Internal error.The error message for the corresponding error code.
Error codeError message
1100Internal error.
2100API version not supported.
2101Invalid JSON.
2102Method not supported.
2103Required parameter missing.
2104Invalid parameter value specified.
2105Authorization failed.
2106Authentication failed.
2107Transport level error.