Create an access point
|
POST /api/v1/billing/access-points |
Creates an access point. All request body fields are optional:
-
nameisn't provided – it is generated automatically. -
typeisn't provided – the default isuniversal_zone. -
group_idorgroup_external_idlinks the access point to a camera group. If neither is provided, the access point is placed in an automatically created group namedAccess Points. Both parameters can't be provided together.
{
"name": "Main entrance",
"type": "universal_zone",
"group_id": 42
}
Method parameters
string name, Access point name. By default, it is generated automatically (`Access Point | <5 characters>`).
string type, Access point type. Allowed values: `entry_zone`, `drive_in_zone`, `fixed_zone`, `universal_zone`. Default: `universal_zone`.
integer group_id, ID of the camera group to which the access point is linked. The group must exist, have the camera type, and contain no nested groups. Can't be provided together with `group_external_id`.
string group_external_id, External ID of the camera group to which the access point is linked. The group requirements are the same as for `group_id`. Can't be provided together with `group_id`.
|
200 |
|
Access point created successfully JSON
|
|
422 |
|
Validation error. For more information, see General information > Validation. |