HTTP API pro verzi 3.1

2N Access Commander API received a major overhaul in version 3 (APIv3) for easier integration. Users, devices (and other entities) can now be created with all properties in a single POST request, where APIv2 needed separate requests to add every RFID card, phone number, etc. 
APIv3 also supports PATCH, so to change a single user property, it is enough just to send that one field via PATCH, instead of having to send the whole object in a PUT request. We will continue to support the legacy APIv2 until 31.5. 2024.

{ "openapi": "3.0.1", "info": { "title": "2N Access Commander API", "description": "## Address\r\n\r\n\r\nThe URL of AccessCommander's API is versioned and uses https, i.e. the url\r\nlooks like `https://serveraddress/api/v3/...`, where:\r\n\r\n\r\n`serveraddress` is hostname of AC, \r\n\r\n\r\n## HTTP\r\n\r\n\r\nHttp commands used for communication with the server:\r\n\r\n\r\n`GET` lists entities (getting the list of entities with parameter values) or get single entity\r\n\r\n\r\n`PUT` updates the whole entity\r\n\r\n\r\n`POST` creates a new entity\r\n\r\n\r\n`DELETE` deletes the entity\r\n\r\n\r\n`PATCH` updates entity according to JSON PATCH RFC 6902\r\n\r\n\r\n## Data Structure\r\n\r\n\r\n### Server Response\r\n\r\n\r\nResponse structure:\r\n\r\n\r\n```json\r\n\r\n{\r\n \"Id\": ...\r\n}\r\n\r\n```\r\n\r\n\r\n### Errors\r\n\r\n`401` unauthorized\r\n\r\n`403` forbidden\r\n\r\n`400` and `500` server errors, the structure looks like this:\r\n\r\n\r\n```json\r\n\r\n{\r\n \"Code\": 2,\r\n \"Message\": \"...\",\r\n \"Detail\": \"...\"\r\n}\r\n\r\n```\r\n\r\n## Authentication\r\n\r\n### API access keys\r\n\r\nAPI offers access to the server using access keys. The access key is a string\r\nwhich is then passed in the request \"Authentication\" header in a following format:\r\n\r\n`Authentication: Bearer $access_key`\r\n\r\nAPI access keys can be created using the `/api/v3/system/apikeys` endpoint and\r\nonly work with API version 3.\r\n\r\nIt is possible to test your access keys by clicking the \"Authorize\" button below\r\nand pasting the access key into the \"Value\" field. After that all endpoints will\r\nwork as if a system administrator was logged in.\r\n\r\n### Login and cookies\r\n\r\nThe user sends a request containing username and password to the endpoint\r\n`/login`.\r\n\r\nIf the pair is valid, the server creates the cookie and sends it back to the\r\nbrowser.\r\n\r\nAll consequent requests are sent to the server along with the cookie. The\r\nserver always verifies\r\n\r\nif the cookie is valid. If it is not, it returns 401 in response. The cookie\r\nis deleted by sending \r\n\r\nrequest to the endpoint `/logout`.", "version": "v3" }, "paths": { "/api/v3/AccessRules": { "get": { "tags": [ "AccessRules", "UserManager", "Admin", "AccessManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AccessRuleQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "AccessRules", "Admin", "AccessManager" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AccessRule" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AccessRule" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "AccessRules", "Admin", "AccessManager" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32AccessRuleBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32PatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/AccessRules/bulk": { "post": { "tags": [ "AccessRules", "Admin", "AccessManager" ], "description": "Create bulk access rules for each of input combination (the Cartesian product of given groups and roles).", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BulkAccessRulesDto" } } } }, "responses": { "200": { "description": "The list of access rules", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/AccessRule" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/AccessRules/{id}": { "get": { "tags": [ "AccessRules", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AccessRule" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "AccessRules", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AccessRule" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AccessRule" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "AccessRules", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/AccessRules/{accessRuleId}": { "patch": { "tags": [ "AccessRules", "Admin", "AccessManager" ], "parameters": [ { "name": "accessRuleId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AccessRule" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/system/ApiKeys": { "get": { "tags": [ "ApiKeys", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiAccessKeyQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "ApiKeys", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiAccessKey" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreatedApiAccessKey" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/system/ApiKeys/{id}": { "get": { "tags": [ "ApiKeys", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiAccessKey" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "ApiKeys", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Areas": { "get": { "tags": [ "Areas", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AreaQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "Areas", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AreaBase" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Area" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Areas", "Admin" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32AreaBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32PatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Areas/{id}": { "get": { "tags": [ "Areas", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Area" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Areas", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AreaBase" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Area" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Areas", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Area" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Areas", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Areas/settings": { "get": { "tags": [ "Areas", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AreaSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Areas", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AreaSettings" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AreaSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Areas", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AreaSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Areas/{id}/antipassback/blocked": { "delete": { "tags": [ "Areas", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "type": "string", "format": "uuid" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Attendance/{userId}": { "get": { "tags": [ "Attendance", "Admin", "AttendanceManager" ], "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttendanceReport" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Attendance/{userId}/{year}/{month}": { "get": { "tags": [ "Attendance", "Admin", "AttendanceManager" ], "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "year", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "month", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttendanceReport" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Attendance/{userId}/intervals": { "post": { "tags": [ "Attendance", "Admin", "AttendanceManager" ], "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkInterval" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkInterval" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Attendance/{userId}/intervals/{intervalId}": { "put": { "tags": [ "Attendance", "Admin", "AttendanceManager" ], "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "intervalId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkInterval" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkInterval" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Attendance", "Admin", "AttendanceManager" ], "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "intervalId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkInterval" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Attendance/{userId}/{year}/{month}/report.csv": { "get": { "tags": [ "Attendance", "Admin", "AttendanceManager" ], "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "year", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "month", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "fileName", "in": "query", "schema": { "maxLength": 128, "type": "string" } } ], "responses": { "200": { "description": "Success" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Attendance/{userId}/{year}/{month}/report.pdf": { "get": { "tags": [ "Attendance", "Admin", "AttendanceManager" ], "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "year", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "month", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "fileName", "in": "query", "schema": { "maxLength": 128, "type": "string" } } ], "responses": { "200": { "description": "Success" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Attendance/{year}/{month}/report.pdf": { "get": { "tags": [ "Attendance", "Admin", "AttendanceManager" ], "parameters": [ { "name": "year", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "month", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "userIds", "in": "query", "schema": { "type": "array", "items": { "type": "string", "format": "uuid" } } }, { "name": "fileName", "in": "query", "schema": { "maxLength": 128, "type": "string" } } ], "responses": { "200": { "description": "Success" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Attendance/report.csv": { "get": { "tags": [ "Attendance", "Admin", "AttendanceManager" ], "parameters": [ { "name": "userIds", "in": "query", "schema": { "type": "array", "items": { "type": "string", "format": "uuid" } } }, { "name": "from", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "to", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "fileName", "in": "query", "schema": { "maxLength": 128, "type": "string" } } ], "responses": { "200": { "description": "Success" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/system/backup/run": { "put": { "tags": [ "BackupAndRestore", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/system/backup/storage": { "get": { "tags": [ "BackupAndRestore", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BackupStorageSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "BackupAndRestore", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BackupStorageSettings" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BackupStorageSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/system/backup/periodic": { "get": { "tags": [ "BackupAndRestore", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PeriodicBackupSetting" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "BackupAndRestore", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PeriodicBackupSetting" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PeriodicBackupSetting" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "BackupAndRestore", "Admin" ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/system/restore/fileUpload": { "put": { "tags": [ "BackupAndRestore", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BackupInfo" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "BackupAndRestore", "Admin" ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/system/restore": { "put": { "tags": [ "BackupAndRestore", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RestoreRequest" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/system/backup/files": { "get": { "tags": [ "BackupAndRestore", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BackupFileList" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "BackupAndRestore", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BackupInfo" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/system/backup/files/download/{location}/{fileName}": { "get": { "tags": [ "BackupAndRestore", "Admin" ], "parameters": [ { "name": "location", "in": "path", "required": true, "schema": { "enum": [ "Local", "Smb", "Upload" ], "type": "string" } }, { "name": "fileName", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/system/import": { "put": { "tags": [ "BackupAndRestore", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ImportRequest" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/CamLogs": { "get": { "tags": [ "CamLogs", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CamLogQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "CamLogs", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CamLog" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CamLog" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "CamLogs", "Admin", "UserManager", "VisitorManager" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32CamLogBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32PatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/CamLogs/{id}": { "get": { "tags": [ "CamLogs", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CamLog" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "CamLogs", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CamLog" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CamLog" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "CamLogs", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CamLog" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "CamLogs", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/CamLogs/eventtypes": { "get": { "tags": [ "CamLogs", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "enum": [ "KeyPressed", "CallStateChanged", "CodeEntered", "CardEntered", "DeviceState", "KeyReleased", "InputChanged", "OutputChanged", "AudioLoopTest", "MotionDetected", "RegistrationStateChanged", "SwitchStateChanged", "NoiseDetected", "TamperSwitchActivated", "UnauthorizedDoorOpen", "DoorOpenTooLong", "LoginBlocked", "PairingStateChanged", "UserAuthenticated", "RemoteDoorOpen", "MobKeyEntered", "FingerEntered", "UserRejected", "CardHeld", "AccessLimited", "SilentAlarm", "RexActivated", "AccessTaken", "HardwareChanged", "DirectorySaved", "DoorStateChanged", "DtmfEntered", "LiftStatusChanged", "LiftFloorsEnabled", "LiftConfigChanged", "SwitchesBlocked", "LicensePlateRecognized", "ConfigurationChanged", "SwitchOperationChanged", "AccessBlocked" ], "type": "string" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies": { "get": { "tags": [ "Companies", "DoorManager", "AttendanceManager", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanyQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "Companies", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Company" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Company" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Companies", "Admin" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32CompanyBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32PatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}": { "get": { "tags": [ "Companies", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Company" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Company" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Company" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Company" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/devices": { "get": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "onlyPairingDevices", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Device" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/defaultEmailSettings": { "get": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmailSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/emailSettings": { "get": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmailSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmailSettings" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmailSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/emailTest": { "put": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MailTest" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/importUsers": { "put": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/importUsers/{deviceId}": { "put": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "deviceId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/ldap": { "get": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LdapSettings" } } } }, "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LdapSettings" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LdapSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/ldap/synchronizedFields": { "get": { "tags": [ "Companies" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LdapFields" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/ldap/synchronize": { "put": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/ldap/test": { "put": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LdapSettings" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/visitorManagerGroups": { "get": { "tags": [ "Companies", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GroupQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Companies/{id}/zones": { "get": { "tags": [ "Companies", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ZoneQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Companies", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/DeviceFirmware": { "get": { "tags": [ "DeviceFirmware", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FirmwareDeploymentStatus" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/DeviceFirmware/enabled": { "get": { "tags": [ "DeviceFirmware", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "DeviceFirmware", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "boolean" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/DeviceFirmware/{firmwareId}/target/fileUpload": { "put": { "tags": [ "DeviceFirmware", "Admin" ], "parameters": [ { "name": "firmwareId", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FirmwareDeploymentStatus" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/DeviceFirmware/{firmwareId}/target": { "put": { "tags": [ "DeviceFirmware", "Admin" ], "parameters": [ { "name": "firmwareId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FirmwareDeploymentStatus" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "DeviceFirmware", "Admin" ], "parameters": [ { "name": "firmwareId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FirmwareDeploymentStatus" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/DeviceFirmware/{firmwareId}/devicetest": { "put": { "tags": [ "DeviceFirmware", "Admin" ], "parameters": [ { "name": "firmwareId", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Device" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/DeviceFirmware/{firmwareId}/releasenotes": { "get": { "tags": [ "DeviceFirmware", "Admin" ], "parameters": [ { "name": "firmwareId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ReleaseNotes" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/DeviceFirmware/incompatibleVersions": { "get": { "tags": [ "DeviceFirmware", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IncompatibleFirmwareQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "DeviceFirmware", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IncompatibleFirmware" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IncompatibleFirmwareQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/DeviceFirmware/compatibleVersions": { "get": { "tags": [ "DeviceFirmware", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompatibleFirmwareQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices": { "get": { "tags": [ "Devices", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeviceQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "Devices", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DeviceBase" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Device" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Devices", "Admin" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32DeviceBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32PatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}": { "get": { "tags": [ "Devices", "Admin", "DoorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Device" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeviceBase" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Device" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Device" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/discover": { "get": { "tags": [ "Devices", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeviceQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/remove/{deleteAction}": { "delete": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "deleteAction", "in": "path", "required": true, "schema": { "enum": [ "None", "ClearDirectory", "FactoryReset" ], "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeviceBase" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/phonebook": { "get": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Phonebook" } } } }, "responses": { "200": { "description": "Success" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/phonebook/view": { "get": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/backup": { "put": { "tags": [ "Devices", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/backups": { "get": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DeviceBackup" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/backup": { "put": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/backup/download": { "get": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/xml": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/restore": { "put": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JobStatus" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/restore/{backupId}": { "put": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "backupId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JobStatus" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/password": { "put": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/password/generate": { "put": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/replace": { "put": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Device" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Device" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/switches/{switchId}": { "put": { "tags": [ "Devices", "Admin", "DoorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "switchId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "enum": [ "On", "Off", "Trigger", "Lock", "Unlock", "Hold", "Release" ], "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/holdopen": { "put": { "tags": [ "Devices", "Admin", "DoorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "integer", "format": "int32" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/floors/{floorId}": { "put": { "tags": [ "Devices", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "floorId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LiftFloor" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LiftFloor" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/firmware/applyTargetVersion": { "put": { "tags": [ "Devices", "Admin" ], "description": "Upgrades device firmware to version specified in the system.", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "The device upgrade has started successfully" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/firmware": { "put": { "tags": [ "Devices", "Admin" ], "description": "Uploads user provided firmware file to device.", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "204": { "description": "Uploads and applies provided firmware package" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/{id}/snapshots/{timestamp}": { "get": { "tags": [ "Devices", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "timestamp", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Snapshot" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/certificatesValidation": { "get": { "tags": [ "Devices", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "enum": [ "none", "chain", "fingerprint" ], "type": "string" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Devices", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "enum": [ "none", "chain", "fingerprint" ], "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Devices/ntpmode": { "get": { "tags": [ "Devices", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "enum": [ "None", "PushServers", "PushLocalServer" ], "type": "string" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Devices", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "enum": [ "None", "PushServers", "PushLocalServer" ], "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Groups": { "get": { "tags": [ "Groups", "UserManager", "VisitorManager", "AttendanceManager", "Admin", "AccessManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GroupQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "Groups", "Admin", "AccessManager" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Group" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Group" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Groups", "Admin", "AccessManager" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidGroupBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidPatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Groups/{id}": { "get": { "tags": [ "Groups", "UserManager", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Group" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Groups", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Group" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Group" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Groups", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Groups", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Group" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Groups/{id}/members": { "put": { "tags": [ "Groups", "UserManager", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Groups", "UserManager", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "get": { "tags": [ "Groups", "UserManager", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Lockdown/activate": { "put": { "tags": [ "Lockdown", "Admin", "DoorManager" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LockdownRequest" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Lockdown/deactivate": { "put": { "tags": [ "Lockdown", "Admin", "DoorManager" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LockdownRequest" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/login": { "put": { "tags": [ "Login" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoginData" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "417": { "description": "Enrollment of second factor is required for this user.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreatedSecondFactorCredential" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "423": { "description": "Captcha verification is required for this user." }, "424": { "description": "Invalid 2FA code was entered." } } } }, "/api/v3/logout": { "put": { "tags": [ "Login" ], "responses": { "200": { "description": "Success" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/password/reset": { "put": { "tags": [ "Login" ], "requestBody": { "content": { "application/json": { "schema": { "maxLength": 64, "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/password/verifyResetToken": { "put": { "tags": [ "Login" ], "requestBody": { "content": { "application/json": { "schema": { "maxLength": 16, "type": "string" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/password/set": { "put": { "tags": [ "Login" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasswordSetRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasswordSetResponse" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/captcha/image": { "put": { "tags": [ "Login" ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success", "content": { "image/png": { "schema": { "type": "string", "format": "byte" } }, "application/json": { "schema": { "type": "string", "format": "byte" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/captcha/verify": { "put": { "tags": [ "Login" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CaptchaVerification" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Logs/access": { "get": { "tags": [ "Logs", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AccessEventDataQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Logs/access/export.csv": { "get": { "tags": [ "Logs", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "responses": { "200": { "description": "Success", "content": { "text/csv": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Logs/system": { "get": { "tags": [ "Logs", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SystemLogDataQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Logs/system/export.csv": { "get": { "tags": [ "Logs", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "parameters": [ { "name": "fileName", "in": "query", "schema": { "maxLength": 128, "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/csv": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Notifications": { "get": { "tags": [ "Notifications", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotificationQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "Notifications", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Notification" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Notification" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Notifications", "Admin" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32NotificationBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32PatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Notifications/clearAppBar": { "put": { "tags": [ "Notifications", "Admin" ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Notifications/{id}": { "get": { "tags": [ "Notifications", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Notification" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Notifications", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Notification" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Notification" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Notifications", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Notification" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Notifications", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Presence/timeout": { "get": { "tags": [ "Presence", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "integer", "format": "int32" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Presence", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "maximum": 24, "minimum": 1, "type": "integer", "format": "int32" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Presence": { "get": { "tags": [ "Presence" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PresentPersonQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Reports/available": { "get": { "tags": [ "Reports" ], "summary": "Return if at least one report is available in system", "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "boolean" } }, "application/json": { "schema": { "type": "boolean" } }, "text/json": { "schema": { "type": "boolean" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Reports": { "get": { "tags": [ "Reports", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "summary": "Return list of all available reports", "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ReportInfo" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ReportInfo" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ReportInfo" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Reports/{id}.csv": { "get": { "tags": [ "Reports", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "summary": "Download report as CSV file", "parameters": [ { "name": "id", "in": "path", "description": "Report ID", "required": true, "schema": { "pattern": "^[A-Za-z0-9\\-_]+$", "type": "string" } }, { "name": "_delimiter", "in": "query", "description": "Delimiter character between fields (default value is comma)", "schema": { "type": "string" } }, { "name": "_nomultiline", "in": "query", "description": "Indicate if new line in multiline values should be removed (default is to allow multiline values)", "schema": { "type": "boolean" } }, { "name": "_nobom", "in": "query", "description": "Indicate if UTF-8 BOM (Byte Order Mark) should be removed (by default BOM is included)", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "Success" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Search": { "get": { "tags": [ "Search" ], "parameters": [ { "name": "query", "in": "query", "schema": { "type": "string" } }, { "name": "limit", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 30 } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SearchResults" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Search/suggestions": { "get": { "tags": [ "Search" ], "parameters": [ { "name": "query", "in": "query", "schema": { "type": "string" } }, { "name": "limit", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 3 } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SearchResults" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Search/suggestions/accesslog": { "get": { "tags": [ "Search" ], "parameters": [ { "name": "query", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SearchResults" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Search/suggestions/systemlog": { "get": { "tags": [ "Search" ], "parameters": [ { "name": "query", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SearchResults" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Search/suggestions/lockdown": { "get": { "tags": [ "Search" ], "parameters": [ { "name": "query", "in": "query", "description": "search string", "schema": { "type": "string" } }, { "name": "addedDevices", "in": "query", "description": "comma separated Ids of added devices", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SearchResultLockdown" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/2fa": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "enum": [ "None", "All", "WithRole" ], "type": "string" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "enum": [ "None", "All", "WithRole" ], "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/accessPointsEnabled": { "get": { "tags": [ "Settings", "Admin", "AccessManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "boolean" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/attendance/mode": { "get": { "tags": [ "Settings" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "enum": [ "Free", "InOut", "InOutOnSelectedDevices" ], "type": "string" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "enum": [ "Free", "InOut", "InOutOnSelectedDevices" ], "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/attendance/devices": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/collectStatistics": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "boolean" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/datetime": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DateAndTimeSetting" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DateAndTimeSetting" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/datetime/timezone": { "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DateAndTimeSetting" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/datetime/timezones": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/logLifespan": { "get": { "tags": [ "Settings", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DiskManagementSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DiskManagementSettings" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DiskManagementSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/mobilekey/keys": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MobileKeyKeyInfo" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MobileKeyKeyInfo" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/mobilekey/locationData": { "get": { "tags": [ "Settings", "Admin", "UserManager", "VisitorManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MobileKeyLocationData" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/mobilekey/keys/{ordinal}": { "delete": { "tags": [ "Settings", "Admin" ], "parameters": [ { "name": "ordinal", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MobileKeyKeyInfo" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/network": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NetworkSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NetworkSettings" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NetworkSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/network/proxy": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProxySetting" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProxySetting" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProxySetting" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/readers": { "get": { "tags": [ "Settings" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReaderSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReaderSettings" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReaderSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/securecards": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SecureCardKeyInfo" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SecureCardKeysImport" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Settings", "Admin" ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/serverAddress": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string", "format": "uri" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "string", "format": "uri" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/smtp": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SmtpSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SmtpSettings" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SmtpSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/smtp/sendtestemail": { "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MailTest" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/smtp/enabled": { "get": { "tags": [ "Settings" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/ssh": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "boolean" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/ssh/password": { "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasswordChange" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Settings/visitorRetention": { "get": { "tags": [ "Settings", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "integer", "format": "int32" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Settings", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "maximum": 365, "minimum": 0, "type": "integer", "format": "int32" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/SignalR/topics": { "get": { "tags": [ "SignalR" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TopicDescription" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/diagnostics/package/status": { "get": { "tags": [ "System", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JobStatus" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/diagnostics/package/create": { "put": { "tags": [ "System", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JobStatus" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/diagnostics/package/download": { "get": { "tags": [ "System", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/diskUsage": { "get": { "tags": [ "System", "Admin" ], "parameters": [ { "name": "days", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 356 } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DiskUsageReport" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/entityCounts": { "get": { "tags": [ "System" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EntityCounts" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/eula": { "get": { "tags": [ "System", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "System", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "boolean" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/license": { "get": { "tags": [ "System" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LicenseInfo" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/license/import.xml": { "put": { "tags": [ "System", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LicenseInfo" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/license/activatebasic": { "put": { "tags": [ "System", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LicenseInfo" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/license/renew": { "put": { "tags": [ "System", "Admin" ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/time": { "get": { "tags": [ "System" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SystemTime" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/update/settings": { "get": { "tags": [ "System", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AcomUpdateSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "System", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AcomUpdateSettings" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AcomUpdateSettings" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/update/status": { "get": { "tags": [ "System", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SystemUpdateStep" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/update/checkNewVersion": { "get": { "tags": [ "System", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SystemUpdateStep" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/update/download": { "get": { "tags": [ "System", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SystemUpdateStep" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "System", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SystemUpdateStep" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/System/update/run": { "put": { "tags": [ "System", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SystemUpdateStep" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/TimeProfiles": { "get": { "tags": [ "TimeProfiles", "UserManager", "Admin", "AccessManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TimeProfileQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "TimeProfiles", "Admin", "AccessManager" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TimeProfile" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TimeProfile" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "TimeProfiles", "Admin", "AccessManager" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidTimeProfileBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidPatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/TimeProfiles/{id}": { "get": { "tags": [ "TimeProfiles", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TimeProfile" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "TimeProfiles", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TimeProfile" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TimeProfile" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "TimeProfiles", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TimeProfile" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "TimeProfiles", "Admin", "AccessManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users": { "get": { "tags": [ "Users", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "parameters": [ { "name": "roles", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidUserBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidPatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/User" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}": { "get": { "tags": [ "Users", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/self": { "get": { "tags": [ "Users" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/roles": { "get": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Roles" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Users", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Roles" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Roles" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/password": { "put": { "tags": [ "Users" ], "description": "Updates user password.", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasswordChange" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "210": { "description": "System admin and root password was changed.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/onetimepassword": { "put": { "tags": [ "Users", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/generatepassword": { "put": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/avatar": { "put": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/sendcredentials": { "put": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "summary": "Will send Pin or QR access credentials to the given email address. If email is not provided, the email address from the user's profile will be used.", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "description": "Email address where to send credentials. If not provided, the email address from the user's profile will be used.", "content": { "application/json": { "schema": { "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/mobilekey": { "get": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MobileKeyPairing" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/mobilekey/pairing/start": { "put": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MobileKeyPairing" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/credentials/{credential}": { "put": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "credential", "in": "path", "required": true, "schema": { "enum": [ "MobileKey", "Pin", "QrCode" ], "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "type": "string", "format": "uuid" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/mobilekey/pairing/stop": { "put": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/mobilekey/pairing/sendPin": { "put": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "type": "string" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/pin": { "post": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/qrcode": { "post": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/qr.png": { "get": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/qr.svg": { "get": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/2fa": { "get": { "tags": [ "Users", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SecondFactorCredential" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/self/2fa": { "get": { "tags": [ "Users" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SecondFactorCredential" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "Users" ], "parameters": [ { "name": "includeQrCode", "in": "query", "schema": { "type": "boolean" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SecondFactorCredential" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreatedSecondFactorCredential" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Users" ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/self/2fa/verify": { "put": { "tags": [ "Users" ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/self/2fa/{id}": { "delete": { "tags": [ "Users" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Users/{id}/pairingDevices": { "get": { "tags": [ "Users", "Admin", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/UserSynchronization/import.csv": { "put": { "tags": [ "UserSynchronization", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SynchronizationResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/UserSynchronization/run": { "put": { "tags": [ "UserSynchronization", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SynchronizationResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/UserSynchronization/settings": { "get": { "tags": [ "UserSynchronization", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FtpSynchronization" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "UserSynchronization", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FtpSynchronization" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FtpSynchronization" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/UserSynchronization/status": { "get": { "tags": [ "UserSynchronization", "Admin" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SynchronizationResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/visitors/cards": { "get": { "tags": [ "VisitorCards", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VisitorCardQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "VisitorCards", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VisitorCard" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VisitorCard" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "VisitorCards", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32VisitorCardBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Int32PatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/visitors/cards/{id}": { "get": { "tags": [ "VisitorCards", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VisitorCard" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "VisitorCards", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VisitorCard" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VisitorCard" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "VisitorCards", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VisitorCard" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "VisitorCards", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/visitors/cards/search": { "post": { "tags": [ "VisitorCards", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CardSearch" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VisitorCard" } } } }, "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Visitors": { "get": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VisitorQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Visitor" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Visitor" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidVisitorBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidPatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Visitors/{id}": { "get": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Visitor" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Visitor" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Visitor" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Visitor" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Visitors/{id}/pin": { "post": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Visitor" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Visitors/{id}/qrcode": { "post": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Visitor" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Visitors/{id}/qr.png": { "get": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Visitors/{id}/qr.svg": { "get": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Visitors/{id}/sendCredentials": { "put": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "summary": "Will send Pin or QR access credentials to the given email address. If email is not provided, the email address from the visitor's profile will be used.", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "description": "Email address where to send credentials. If not provided, the email address from the visitor's profile will be used.", "content": { "application/json": { "schema": { "type": "string" } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Visitors/{id}/avatar": { "put": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Visitors", "Admin", "AccessManager", "UserManager", "VisitorManager" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Zones": { "get": { "tags": [ "Zones", "Admin", "AccessManager", "UserManager", "VisitorManager", "DoorManager", "AttendanceManager" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ZoneQueryResult" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "post": { "tags": [ "Zones", "Admin" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Zone" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Zone" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Zones", "Admin" ], "description": "Bulk patch will succeed even if some entities are not successfully patched. Details about failed patches are in the response.", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidZoneBulkPatchDocument" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuidPatchError" } } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } }, "/api/v3/Zones/{id}": { "get": { "tags": [ "Zones", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Zone" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "put": { "tags": [ "Zones", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Zone" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Zone" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "delete": { "tags": [ "Zones", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "No Content" }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } }, "patch": { "tags": [ "Zones", "Admin" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Zone" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } }, "400": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResult" } } } } } } } }, "components": { "schemas": { "AccessControl": { "type": "object", "properties": { "LiftEnabled": { "type": "boolean" }, "AccessPoint0Zone": { "$ref": "#/components/schemas/GuidIdName" }, "AccessPoint1Zone": { "$ref": "#/components/schemas/GuidIdName" }, "LiftFloors": { "type": "array", "items": { "$ref": "#/components/schemas/LiftFloor" }, "nullable": true }, "DoorSwitch": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "AccessCredentials": { "type": "object", "properties": { "ValidFrom": { "type": "string", "format": "date-time", "nullable": true }, "ValidTo": { "type": "string", "format": "date-time", "nullable": true }, "Cards": { "type": "array", "items": { "type": "string" }, "nullable": true }, "Fingerprints": { "type": "array", "items": { "$ref": "#/components/schemas/Fingerprint" }, "nullable": true }, "LicensePlates": { "uniqueItems": true, "type": "array", "items": { "type": "string" }, "nullable": true }, "Pin": { "type": "string", "nullable": true }, "QrCode": { "type": "string", "nullable": true }, "MobileKey": { "type": "string", "nullable": true, "readOnly": true }, "IsPairing": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "AccessEventCredentials": { "type": "object", "properties": { "Bluetooth": { "enum": [ "unused", "valid", "invalid" ], "type": "string" }, "Card": { "enum": [ "unused", "valid", "invalid" ], "type": "string" }, "FingerPrint": { "enum": [ "unused", "valid", "invalid" ], "type": "string" }, "Pin": { "enum": [ "unused", "valid", "invalid" ], "type": "string" }, "QrCode": { "enum": [ "unused", "valid", "invalid" ], "type": "string" }, "Remote": { "enum": [ "unused", "valid", "invalid" ], "type": "string" }, "Rex": { "enum": [ "unused", "valid", "invalid" ], "type": "string" }, "LicensePlate": { "enum": [ "unused", "valid", "invalid" ], "type": "string" }, "Credentials": { "type": "string", "nullable": true } }, "additionalProperties": false }, "AccessEventData": { "type": "object", "properties": { "Category": { "enum": [ "Unknown", "Granted", "Denied", "Public", "Lockout" ], "type": "string" }, "Time": { "type": "string", "format": "date-time" }, "DeviceTime": { "type": "string", "format": "date-time" }, "Person": { "$ref": "#/components/schemas/AccessEventPerson" }, "Device": { "$ref": "#/components/schemas/AccessEventDevice" }, "ZoneEntered": { "$ref": "#/components/schemas/AccessEventZone" }, "ZoneExited": { "$ref": "#/components/schemas/AccessEventZone" }, "Credentials": { "$ref": "#/components/schemas/AccessEventCredentials" }, "Detail": { "type": "string", "nullable": true }, "SnapshotTimestamp": { "type": "integer", "description": "Unix timestamp of camlog snapshot associated with the event. If no snapshot was taken it is null.", "format": "int32", "nullable": true }, "CreatedTimestamp": { "type": "string", "nullable": true }, "Direction": { "enum": [ "Unknown", "Entry", "Exit" ], "type": "string" }, "AccessPoint": { "type": "integer", "format": "int32", "nullable": true } }, "additionalProperties": false }, "AccessEventDataQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/AccessEventData" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "AccessEventDevice": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "Name": { "type": "string", "nullable": true }, "Host": { "type": "string", "nullable": true }, "SerialNumber": { "type": "string", "nullable": true }, "IsDeleted": { "type": "boolean" } }, "additionalProperties": false }, "AccessEventPerson": { "type": "object", "properties": { "Id": { "type": "string", "nullable": true }, "Name": { "type": "string", "nullable": true }, "NameAtTimeOfEvent": { "type": "string", "nullable": true }, "Email": { "type": "string", "nullable": true }, "PhoneNumber": { "type": "string", "nullable": true }, "Company": { "$ref": "#/components/schemas/Int32IdName" }, "IsVisitor": { "type": "boolean" } }, "additionalProperties": false }, "AccessEventZone": { "type": "object", "properties": { "Id": { "type": "string", "nullable": true }, "Name": { "type": "string", "nullable": true }, "IsDeleted": { "type": "boolean" } }, "additionalProperties": false }, "AccessPoint": { "enum": [0, 1], "type": "integer", "description": "\u003Cul\u003E\u003Cli\u003E0 - \u003Ci\u003EAp0\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E1 - \u003Ci\u003EAp1\u003C/i\u003E\u003C/li\u003E\n\u003C/ul\u003E", "format": "int32" }, "AccessRule": { "required": [ "Group", "Zone" ], "type": "object", "properties": { "Group": { "$ref": "#/components/schemas/GuidIdName" }, "Zone": { "$ref": "#/components/schemas/GuidIdName" }, "TimeProfile": { "$ref": "#/components/schemas/GuidIdName" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "integer", "format": "int32", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "AccessRuleJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/AccessRuleOperation" }, "nullable": true } }, "additionalProperties": false }, "AccessRuleOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "AccessRuleQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/AccessRule" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "Account": { "type": "object", "properties": { "Login": { "type": "string", "nullable": true }, "Email": { "type": "string", "nullable": true }, "Settings": { "$ref": "#/components/schemas/AccountSettings" } }, "additionalProperties": false }, "AccountSettings": { "type": "object", "properties": { "PasswordMustBeChanged": { "type": "boolean" }, "ShowWizard": { "type": "boolean" }, "ShowGiveFeedback": { "type": "boolean" }, "Localization": { "enum": [ "Unknown", "En", "Cs", "De", "It", "Es", "Fr", "Nl" ], "type": "string" }, "SimpleUI": { "type": "boolean" } }, "additionalProperties": false }, "AcomUpdateSettings": { "type": "object", "properties": { "Enabled": { "type": "boolean" }, "Beta": { "type": "boolean" }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ActionType": { "enum": [0, 1], "type": "integer", "description": "\u003Cul\u003E\u003Cli\u003E0 - \u003Ci\u003EUpdate\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E1 - \u003Ci\u003ERemove\u003C/i\u003E\u003C/li\u003E\n\u003C/ul\u003E", "format": "int32" }, "ApDevice": { "type": "object", "properties": { "Hardware": { "$ref": "#/components/schemas/ApHardware" }, "State": { "$ref": "#/components/schemas/ApState" }, "Id": { "type": "integer", "format": "int32" }, "Name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ApHardware": { "type": "object", "properties": { "AccessPoint0Modules": { "type": "array", "items": { "$ref": "#/components/schemas/HardwareModule" }, "nullable": true, "readOnly": true }, "AccessPoint1Modules": { "type": "array", "items": { "$ref": "#/components/schemas/HardwareModule" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "ApState": { "type": "object", "properties": { "CanLockdown": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "ApiAccessKey": { "type": "object", "properties": { "CreatedOn": { "type": "string", "format": "date-time", "readOnly": true }, "ExpiresOn": { "type": "string", "format": "date-time", "nullable": true }, "LastUsedOn": { "type": "string", "format": "date-time", "nullable": true, "readOnly": true }, "ReadOnly": { "type": "boolean" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "string", "format": "uuid", "readOnly": true }, "Expired": { "type": "boolean", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ApiAccessKeyQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAccessKey" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ApplicationError": { "enum": [0, 1, 2, 3, 4, 5, 6, 201, 211, 212, 214, 219, 220, 221, 224, 226, 227, 232, 233, 238, 239, 240, 241, 242, 244, 252, 254, 255, 259, 264, 265, 266, 267, 268, 270, 271, 272, 273, 275, 278, 279, 280, 283, 290, 293, 294, 295, 296, 298, 402, 403, 406, 407, 412, 413, 414, 417, 418, 419, 420, 421, 422, 424, 428, 429, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532], "type": "integer", "description": "\u003Cul\u003E\u003Cli\u003E0 - \u003Ci\u003EOther\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E1 - \u003Ci\u003EExists\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E2 - \u003Ci\u003ENotExists\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E3 - \u003Ci\u003EOutdatedData\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E4 - \u003Ci\u003EUnauthorized\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E5 - \u003Ci\u003EInvalidData\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E6 - \u003Ci\u003ECompanyMismatch\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E201 - \u003Ci\u003EDeviceLoginFailed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E211 - \u003Ci\u003EExternalSystem\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E212 - \u003Ci\u003EEmailFormatError\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E214 - \u003Ci\u003EBackupDeviceIsBusy\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E219 - \u003Ci\u003ELoginOrPasswordMissing\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E220 - \u003Ci\u003EDeviceNotFound\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E221 - \u003Ci\u003EDayEndNotLaterDayStart\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E224 - \u003Ci\u003ECodeAlreadyExists\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E226 - \u003Ci\u003EMaxNumberOfDevicesExceeded\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E227 - \u003Ci\u003EDuplicateName\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E232 - \u003Ci\u003EInvalidLicense\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E233 - \u003Ci\u003EUnsupportedProduct\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E238 - \u003Ci\u003EWeakPassword\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E239 - \u003Ci\u003EEmailMissing\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E240 - \u003Ci\u003ELoginMissing\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E241 - \u003Ci\u003EPasswordChangeOnDeviceFailed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E242 - \u003Ci\u003EOldPasswordCheckFailed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E244 - \u003Ci\u003EUserDoesNotExist\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E252 - \u003Ci\u003EInvalidPhoneNumber\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E254 - \u003Ci\u003EInvalidCodeFormat\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E255 - \u003Ci\u003EDuplicateEmail\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E259 - \u003Ci\u003EInvalidIPAddress\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E264 - \u003Ci\u003EVirtualFormatError\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E265 - \u003Ci\u003EWrongTime\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E266 - \u003Ci\u003EMailerSetting\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E267 - \u003Ci\u003EValidation\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E268 - \u003Ci\u003EInvalidPresenceTimeout\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E270 - \u003Ci\u003EAccessRuleCompanyMismatch\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E271 - \u003Ci\u003EUserHasNoPhoneNumber\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E272 - \u003Ci\u003EDeviceCapabilityMissing\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E273 - \u003Ci\u003ENoVirtualNumber\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E275 - \u003Ci\u003EDeviceAlreadyCreated\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E278 - \u003Ci\u003EDuplicateVirtualNumber\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E279 - \u003Ci\u003ECardIdFormatException\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E280 - \u003Ci\u003EUnauthorizedAgreement\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E283 - \u003Ci\u003EImport\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E290 - \u003Ci\u003ENameCannotBeVoid\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E293 - \u003Ci\u003ETwoCardsAlreadyAssigned\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E294 - \u003Ci\u003ECardIsDuplicate\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E295 - \u003Ci\u003EWrongLicenseFile\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E296 - \u003Ci\u003EEmailSendFailed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E298 - \u003Ci\u003ESystemAdminMustNotChangeLogin\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E402 - \u003Ci\u003EInvalidIpEyeAddress\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E403 - \u003Ci\u003ELicensedFeatureDisabled\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E406 - \u003Ci\u003EReplacementWithSameDevice\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E407 - \u003Ci\u003ENoDiagnosticData\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E412 - \u003Ci\u003EVisitStartLaterThanEnd\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E413 - \u003Ci\u003ESmtpIsDisabled\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E414 - \u003Ci\u003EPdfNotFound\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E417 - \u003Ci\u003EWrongDaysOfWeekSpecification\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E418 - \u003Ci\u003ETimeProfileAssignedToAccessRule\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E419 - \u003Ci\u003EDeputySetToSelf\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E420 - \u003Ci\u003EMaxNumberOfFingerprintsExceeded\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E421 - \u003Ci\u003EFingerprintPositionAlreadyUsed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E422 - \u003Ci\u003EDeviceHasNoAccessControl\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E424 - \u003Ci\u003ECompanyInAccessRule\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E428 - \u003Ci\u003EPinCodeCollisions\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E429 - \u003Ci\u003ETimeProfileAssignedToPublicAccess\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E434 - \u003Ci\u003EFirmwareUpdateFailed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E435 - \u003Ci\u003EUnsupportedFirmware\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E436 - \u003Ci\u003EFirmwareDeploymentError\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E437 - \u003Ci\u003EDeviceIsDisabled\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E438 - \u003Ci\u003EInvalidPortNumber\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E439 - \u003Ci\u003EDeviceMustBeDisabledPriorReplacement\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E440 - \u003Ci\u003EUserCannotChangeName\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E441 - \u003Ci\u003EUserCannotChangeEmployeeNumber\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E442 - \u003Ci\u003EUserCannotChangeVirtualCard\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E443 - \u003Ci\u003EPairingFailed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E444 - \u003Ci\u003EPairingCancellationFailed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E445 - \u003Ci\u003EPairingDeviceUnavailable\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E446 - \u003Ci\u003EToMustBeLaterThanFrom\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E447 - \u003Ci\u003ECamLogMaxHigherThanOtherLogs\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E448 - \u003Ci\u003ECamLogMinHigherThanOtherLogs\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E450 - \u003Ci\u003EMaxNumberOfResetsExceeded\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E451 - \u003Ci\u003ENameIsTooLong\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E452 - \u003Ci\u003ELiftControlEnabled\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E453 - \u003Ci\u003ECannotResetPasswordInvalidCode\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E454 - \u003Ci\u003ECannotResetPasswordInvalidToken\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E455 - \u003Ci\u003EFailureSendingMailNotSupported\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E456 - \u003Ci\u003EUserIsSuspended\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E457 - \u003Ci\u003EIdtCannotBeDowngraded\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E458 - \u003Ci\u003ELdapInvalidAttributeName\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E459 - \u003Ci\u003ELdapConnectionError\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E460 - \u003Ci\u003ELdapInvalidCredentials\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E461 - \u003Ci\u003ENoUsersToImport\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E462 - \u003Ci\u003ENetworkSettingsCannotBeChanged\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E463 - \u003Ci\u003EUserCannotRemoveSelf\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E464 - \u003Ci\u003EMaxNumberOfUsersExceeded\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E465 - \u003Ci\u003EMaxNumberOfManagersExceeded\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E466 - \u003Ci\u003ETrialEndingFailed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E467 - \u003Ci\u003ETrialLimitReached\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E468 - \u003Ci\u003ELicensePlateIsTooLong\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E469 - \u003Ci\u003ETooManyLicensePlates\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E470 - \u003Ci\u003ELicenseRenewalFailed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E471 - \u003Ci\u003ETooManyManagersForRenewal\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E472 - \u003Ci\u003ENoteTooLong\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E473 - \u003Ci\u003EUserCannotChangeNote\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E474 - \u003Ci\u003EDeviceAlreadyAssignedToZone\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E475 - \u003Ci\u003EBothDeviceApsUsed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E476 - \u003Ci\u003EZoneAccessPointsDisabled\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E477 - \u003Ci\u003ERequiredValueMissing\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E478 - \u003Ci\u003EValueRangeExceeded\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E479 - \u003Ci\u003EMaxLengthExceeded\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E480 - \u003Ci\u003EVisitDurationTooLong\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E481 - \u003Ci\u003EImageTooLarge\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E484 - \u003Ci\u003EWrongQrCodeFormat\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E485 - \u003Ci\u003EBothPinAndQrCodeUsed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E486 - \u003Ci\u003EOsServicesRequestFailed\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E487 - \u003Ci\u003EDefaultRootPasswordIsSet\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E488 - \u003Ci\u003ETimeProfileAssignedToZone\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E489 - \u003Ci\u003EInvalidNtpServerConfig\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E490 - \u003Ci\u003ENtpServerNotAvailable\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E491 - \u003Ci\u003EInvalidTimeZone\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E492 - \u003Ci\u003ETimeZoneSettingError\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E493 - \u003Ci\u003EManualTimeSettingError\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E494 - \u003Ci\u003ENetworkSettingError\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E495 - \u003Ci\u003EBackupOrRestoreAlreadyRunning\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E496 - \u003Ci\u003ENotEnoughSpaceForBackup\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E497 - \u003Ci\u003ESmbNoSuchFileOrDirectory\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E498 - \u003Ci\u003ESmbAccessDenied\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E499 - \u003Ci\u003ESmbHostIsDown\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E500 - \u003Ci\u003ESmbOperationInProgress\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E501 - \u003Ci\u003EBackupFileNotFound\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E502 - \u003Ci\u003EBackupFileReadingError\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E503 - \u003Ci\u003EWrongBackupPassword\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E504 - \u003Ci\u003ELowerBackupVersionNotAccepted\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E505 - \u003Ci\u003EHigherBackupVersion\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E506 - \u003Ci\u003EUserCannotChangeAttendance\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E507 - \u003Ci\u003EUserCannotChangeLicensePlates\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E508 - \u003Ci\u003EUserCannotChangePin\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E509 - \u003Ci\u003EHigherImportVersion\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E510 - \u003Ci\u003EWrongImportCredentials\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E511 - \u003Ci\u003ERemoteServerNotResponding\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E512 - \u003Ci\u003ECannotImportFromLocalhost\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E513 - \u003Ci\u003EOsServicesRequestTimeout\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E514 - \u003Ci\u003ECannotDisableItself\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E515 - \u003Ci\u003ECannotDisableAdminOrUserManager\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E516 - \u003Ci\u003ECannotRemoveOwnAdminRights\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E517 - \u003Ci\u003EInvalidFileFormat\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E518 - \u003Ci\u003ESettingNotChanged\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E519 - \u003Ci\u003EWrongPassword\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E520 - \u003Ci\u003ELocked\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E521 - \u003Ci\u003EBulkUpdateAttendanceMonitoring\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E522 - \u003Ci\u003EBulkUpdateRestrictedAccess\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E523 - \u003Ci\u003EFailedToUpdateNtpMode\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E524 - \u003Ci\u003ESmbCouldNotResolveHost\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E525 - \u003Ci\u003EDeviceUnderLockdown\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E526 - \u003Ci\u003EDoorHeldOpen\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E527 - \u003Ci\u003EWrongCaptchaCode\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E528 - \u003Ci\u003EInvalidUpdateFlowTransition\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E529 - \u003Ci\u003EDeviceAssignedToArea\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E530 - \u003Ci\u003EInvalid2FaCode\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E531 - \u003Ci\u003EActionRequires2Fa\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E532 - \u003Ci\u003ETwoFactorAuthenticationRequired\u003C/i\u003E\u003C/li\u003E\n\u003C/ul\u003E", "format": "int32" }, "Area": { "type": "object", "properties": { "Ap0EntryDevices": { "type": "array", "items": { "$ref": "#/components/schemas/AreaDevice" }, "nullable": true }, "Ap1EntryDevices": { "type": "array", "items": { "$ref": "#/components/schemas/AreaDevice" }, "nullable": true }, "ApbMode": { "enum": [ "None", "Soft", "Hard" ], "type": "string" }, "ApbTimeout": { "type": "integer", "format": "int32" }, "OccupancyMode": { "enum": [ "None", "Soft", "Hard" ], "type": "string" }, "OccupancyLimit": { "type": "integer", "format": "int32" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "integer", "format": "int32", "readOnly": true }, "State": { "$ref": "#/components/schemas/AreaState" }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "AreaBase": { "type": "object", "properties": { "Ap0EntryDevices": { "type": "array", "items": { "$ref": "#/components/schemas/AreaDevice" }, "nullable": true }, "Ap1EntryDevices": { "type": "array", "items": { "$ref": "#/components/schemas/AreaDevice" }, "nullable": true }, "ApbMode": { "enum": [ "None", "Soft", "Hard" ], "type": "string" }, "ApbTimeout": { "type": "integer", "format": "int32" }, "OccupancyMode": { "enum": [ "None", "Soft", "Hard" ], "type": "string" }, "OccupancyLimit": { "type": "integer", "format": "int32" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "integer", "format": "int32", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "AreaDevice": { "type": "object", "properties": { "DevType": { "type": "string", "nullable": true, "readOnly": true }, "AccessPoint0Modules": { "type": "array", "items": { "$ref": "#/components/schemas/HardwareModule" }, "nullable": true, "readOnly": true }, "AccessPoint1Modules": { "type": "array", "items": { "$ref": "#/components/schemas/HardwareModule" }, "nullable": true, "readOnly": true }, "Id": { "type": "integer", "format": "int32" }, "Name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "AreaIssue": { "type": "object", "properties": { "Type": { "enum": [ "NoDeviceInArea", "NoInputDefined", "DeviceIsMisconfigured", "DeviceIsEnterOfAnotherArea", "DeviceHasInsufficientLicense", "DeviceDisabled", "DeviceDisconnected", "DeviceHasIncompatibleVersion", "DeviceHasRexButton", "DeviceIncompatibleWithHardOccupancyLimit" ], "type": "string" }, "Devices": { "type": "array", "items": { "$ref": "#/components/schemas/AreaIssueDeviceDto" }, "nullable": true } }, "additionalProperties": false }, "AreaIssueDeviceDto": { "type": "object", "properties": { "DeviceId": { "type": "integer", "format": "int32" }, "Name": { "type": "string", "nullable": true }, "Areas": { "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" }, "nullable": true } }, "additionalProperties": false }, "AreaJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/AreaOperation" }, "nullable": true } }, "additionalProperties": false }, "AreaOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "AreaQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Area" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "AreaReset": { "type": "object", "properties": { "ResetTime": { "type": "string", "format": "date-span" }, "DaysOfWeek": { "type": "array", "items": { "enum": [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday", "Holiday" ], "type": "string" }, "nullable": true } }, "additionalProperties": false }, "AreaSettings": { "type": "object", "properties": { "NotifyApbViolations": { "type": "boolean" }, "Exceptions": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" }, "nullable": true }, "Resets": { "type": "array", "items": { "$ref": "#/components/schemas/AreaReset" }, "nullable": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "AreaState": { "type": "object", "properties": { "IsActive": { "type": "boolean" }, "Issues": { "type": "array", "items": { "$ref": "#/components/schemas/AreaIssue" }, "nullable": true }, "Blocked": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdNameType" }, "nullable": true }, "CurrentOccupancy": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "AttendanceReport": { "type": "object", "properties": { "From": { "type": "string", "format": "date-time" }, "To": { "type": "string", "format": "date-time" }, "TargetHours": { "type": "string", "description": "Format {TotalHours}:{Minutes}", "format": "date-span", "readOnly": true }, "WorkedHours": { "type": "string", "description": "Format {TotalHours}:{Minutes}", "format": "date-span", "readOnly": true }, "WorkingHoursPerDay": { "type": "string", "description": "Format {TotalHours}:{Minutes}", "format": "date-span", "readOnly": true }, "Balance": { "type": "string", "description": "Format {TotalHours}:{Minutes}", "format": "date-span", "readOnly": true }, "Days": { "type": "array", "items": { "$ref": "#/components/schemas/DayAttendance" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "AudioTestResultState": { "type": "object", "properties": { "Status": { "enum": [ "Passed", "No", "Failed", "Unknown" ], "type": "string" }, "Timestamp": { "type": "string", "format": "date-time", "nullable": true }, "Problem": { "type": "string", "nullable": true } }, "additionalProperties": false }, "BackupFileList": { "type": "object", "properties": { "BackupFiles": { "type": "array", "items": { "$ref": "#/components/schemas/BackupInfo" }, "nullable": true }, "SmbError": { "type": "boolean" } }, "additionalProperties": false }, "BackupInfo": { "type": "object", "properties": { "FileName": { "type": "string", "nullable": true }, "Created": { "type": "string", "format": "date-time", "nullable": true }, "Version": { "type": "string", "nullable": true }, "Encrypted": { "type": "boolean" }, "Location": { "enum": [ "Local", "Smb", "Upload" ], "type": "string" }, "Size": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "BackupStorageSettings": { "type": "object", "properties": { "Location": { "enum": [ "Local", "Smb", "Upload" ], "type": "string" }, "Host": { "type": "string", "nullable": true }, "Username": { "type": "string", "nullable": true }, "Password": { "type": "string", "nullable": true }, "SmbVersion": { "$ref": "#/components/schemas/ProtocolVersion" } }, "additionalProperties": false }, "BulkAccessRulesDto": { "type": "object", "properties": { "GroupIds": { "type": "array", "items": { "type": "string", "format": "uuid" }, "nullable": true }, "ZoneIds": { "type": "array", "items": { "type": "string", "format": "uuid" }, "nullable": true }, "TimeProfileId": { "type": "string", "format": "uuid", "nullable": true } }, "additionalProperties": false }, "BusinessHours": { "type": "object", "properties": { "WorkDays": { "uniqueItems": true, "type": "array", "items": { "enum": [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], "type": "string" }, "nullable": true }, "From": { "type": "string", "format": "date-span" }, "To": { "type": "string", "format": "date-span" }, "Holidays": { "type": "array", "items": { "$ref": "#/components/schemas/Holiday" }, "nullable": true } }, "additionalProperties": false }, "Calling": { "type": "object", "properties": { "Buttons": { "type": "array", "items": { "$ref": "#/components/schemas/UserButton" }, "nullable": true }, "VirtualNumbers": { "type": "array", "items": { "$ref": "#/components/schemas/UserVirtualNumber" }, "nullable": true } }, "additionalProperties": false }, "CamLog": { "type": "object", "properties": { "Devices": { "uniqueItems": true, "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" }, "nullable": true }, "Events": { "type": "array", "items": { "enum": [ "KeyPressed", "CallStateChanged", "CodeEntered", "CardEntered", "DeviceState", "KeyReleased", "InputChanged", "OutputChanged", "AudioLoopTest", "MotionDetected", "RegistrationStateChanged", "SwitchStateChanged", "NoiseDetected", "TamperSwitchActivated", "UnauthorizedDoorOpen", "DoorOpenTooLong", "LoginBlocked", "PairingStateChanged", "UserAuthenticated", "RemoteDoorOpen", "MobKeyEntered", "FingerEntered", "UserRejected", "CardHeld", "AccessLimited", "SilentAlarm", "RexActivated", "AccessTaken", "HardwareChanged", "DirectorySaved", "DoorStateChanged", "DtmfEntered", "LiftStatusChanged", "LiftFloorsEnabled", "LiftConfigChanged", "SwitchesBlocked", "LicensePlateRecognized", "ConfigurationChanged", "SwitchOperationChanged", "AccessBlocked" ], "type": "string" }, "nullable": true }, "MonitorAllDevices": { "type": "boolean" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "integer", "format": "int32", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "CamLogJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/CamLogOperation" }, "nullable": true } }, "additionalProperties": false }, "CamLogOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "CamLogQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/CamLog" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "CaptchaVerification": { "type": "object", "properties": { "Login": { "type": "string", "nullable": true }, "VerificationText": { "type": "string", "nullable": true } }, "additionalProperties": false }, "CardKey": { "type": "object", "properties": { "AppReadKey": { "type": "string", "format": "byte", "nullable": true } }, "additionalProperties": false }, "CardSearch": { "required": [ "TagId" ], "type": "object", "properties": { "TagId": { "minLength": 1, "type": "string" }, "CompanyId": { "type": "integer", "format": "int32", "nullable": true } }, "additionalProperties": false }, "CardUidDto": { "type": "object", "properties": { "Uid": { "type": "string", "format": "byte", "nullable": true } }, "additionalProperties": false }, "Channels": { "type": "object", "properties": { "AppBar": { "type": "boolean" }, "Email": { "type": "boolean" } }, "additionalProperties": false }, "CodeCollision": { "type": "object", "properties": { "Type": { "type": "string", "nullable": true }, "Field": { "enum": [ "QrCodeOrPin", "SwitchCode1", "SwitchCode2", "SwitchCode3", "SwitchCode4" ], "type": "string" }, "Id": { "type": "string", "format": "uuid", "readOnly": true }, "Name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Company": { "type": "object", "properties": { "Localization": { "enum": [ "Unknown", "En", "Cs", "De", "It", "Es", "Fr", "Nl" ], "type": "string" }, "BusinessHours": { "$ref": "#/components/schemas/BusinessHours" }, "VisitorSettings": { "$ref": "#/components/schemas/VisitorSettings" }, "CredentialSettings": { "$ref": "#/components/schemas/CredentialSettings" }, "Lockdown": { "$ref": "#/components/schemas/LockdownState" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "integer", "format": "int32", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "CompanyJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/CompanyOperation" }, "nullable": true } }, "additionalProperties": false }, "CompanyOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "CompanyQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Company" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "CompatibleFirmware": { "type": "object", "properties": { "DevType": { "type": "string", "nullable": true }, "Version": { "type": "string", "nullable": true }, "DeviceType": { "type": "string", "nullable": true }, "IsApproved": { "type": "boolean", "nullable": true } }, "additionalProperties": false }, "CompatibleFirmwareQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/CompatibleFirmware" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "CreatedApiAccessKey": { "type": "object", "properties": { "Value": { "type": "string", "nullable": true }, "CreatedOn": { "type": "string", "format": "date-time", "readOnly": true }, "ExpiresOn": { "type": "string", "format": "date-time", "nullable": true }, "LastUsedOn": { "type": "string", "format": "date-time", "nullable": true, "readOnly": true }, "ReadOnly": { "type": "boolean" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "string", "format": "uuid", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Expired": { "type": "boolean", "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "CreatedSecondFactorCredential": { "type": "object", "properties": { "TotpUri": { "type": "string", "format": "uri", "nullable": true }, "QrUriImage": { "type": "string", "format": "byte", "nullable": true }, "CreatedOn": { "type": "string", "format": "date-time", "readOnly": true }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "string", "format": "uuid", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "CredentialDto": { "type": "object", "properties": { "Credential": { "type": "string", "nullable": true } }, "additionalProperties": false }, "CredentialSettings": { "type": "object", "properties": { "MobileKeyPairingDevices": { "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" }, "nullable": true }, "MobileKeyPairingTime": { "maximum": 14400, "minimum": 10, "type": "integer", "format": "int32" } }, "additionalProperties": false }, "DateAndTimeSetting": { "type": "object", "properties": { "Method": { "enum": [ "Manual", "Ntp" ], "type": "string" }, "NtpServers": { "type": "array", "items": { "type": "string" }, "nullable": true }, "Time": { "type": "string", "format": "date-time", "nullable": true }, "TimeZone": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "DayAttendance": { "type": "object", "properties": { "Day": { "type": "string", "nullable": true, "readOnly": true }, "WorkedHours": { "type": "string", "format": "date-span", "readOnly": true }, "Balance": { "type": "string", "format": "date-span", "readOnly": true }, "Intervals": { "type": "array", "items": { "$ref": "#/components/schemas/WorkInterval" }, "nullable": true, "readOnly": true }, "IsHoliday": { "type": "boolean", "readOnly": true }, "IsWorkingDay": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "DayIntervals": { "type": "object", "properties": { "Enabled": { "type": "boolean" }, "Intervals": { "uniqueItems": true, "type": "array", "items": { "$ref": "#/components/schemas/Interval" }, "nullable": true } }, "additionalProperties": false }, "Device": { "type": "object", "properties": { "Hardware": { "$ref": "#/components/schemas/Hardware" }, "Features": { "$ref": "#/components/schemas/Features" }, "State": { "$ref": "#/components/schemas/State" }, "Firmware": { "$ref": "#/components/schemas/Firmware" }, "IpAddress": { "type": "string", "nullable": true }, "Port": { "type": "integer", "format": "int32" }, "Login": { "type": "string", "nullable": true }, "Password": { "type": "string", "nullable": true }, "IsManaged": { "type": "boolean" }, "ExcludedFromFirmwareManagement": { "type": "boolean" }, "AccessControl": { "$ref": "#/components/schemas/AccessControl" }, "Calling": { "$ref": "#/components/schemas/Calling" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "integer", "format": "int32", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "DeviceBackup": { "type": "object", "properties": { "SoftwareVersion": { "type": "string", "nullable": true }, "Created": { "type": "string", "format": "date-time" }, "Id": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "DeviceBase": { "type": "object", "properties": { "IpAddress": { "type": "string", "nullable": true }, "Port": { "type": "integer", "format": "int32" }, "Login": { "type": "string", "nullable": true }, "Password": { "type": "string", "nullable": true }, "IsManaged": { "type": "boolean" }, "ExcludedFromFirmwareManagement": { "type": "boolean" }, "AccessControl": { "$ref": "#/components/schemas/AccessControl" }, "Calling": { "$ref": "#/components/schemas/Calling" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "integer", "format": "int32", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "DeviceJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/DeviceOperation" }, "nullable": true } }, "additionalProperties": false }, "DeviceLockdownState": { "type": "object", "properties": { "State": { "enum": [ "Unknown", "Normal", "Lockdown", "PartialLockdown" ], "type": "string" }, "Confirmed": { "type": "boolean" }, "Overview": { "$ref": "#/components/schemas/LockdownOverview" } }, "additionalProperties": false }, "DeviceOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DeviceProblem": { "type": "object", "properties": { "Type": { "enum": [ "LiftLicenseLost", "LiftModuleDisabled", "LiftModuleDisconnected", "FirmwareUpdateFailed", "FirmwareUpdateRetriesFailed", "MaximumParallelCallReached", "MaximumTreePathReached", "Other" ], "type": "string" }, "AdditionalInfo": { "type": "string", "nullable": true }, "UserId": { "type": "string", "format": "uuid", "nullable": true } }, "additionalProperties": false }, "DeviceQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Device" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "DiskManagementSettings": { "required": [ "AccessLog", "CamLog", "LocalBackups", "SystemLog" ], "type": "object", "properties": { "AccessLog": { "$ref": "#/components/schemas/LogLifespan" }, "SystemLog": { "$ref": "#/components/schemas/LogLifespan" }, "CamLog": { "$ref": "#/components/schemas/LogLifespan" }, "LocalBackups": { "$ref": "#/components/schemas/LogLifespan" }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "DiskUsageOldestEvents": { "type": "object", "properties": { "AccessLog": { "type": "string", "format": "date-time", "nullable": true }, "SystemLog": { "type": "string", "format": "date-time", "nullable": true }, "CamLog": { "type": "string", "format": "date-time", "nullable": true }, "LocalBackups": { "type": "string", "format": "date-time", "nullable": true } }, "additionalProperties": false }, "DiskUsagePercent": { "type": "object", "properties": { "Timestamp": { "type": "string", "format": "date-time" }, "AccessLog": { "type": "number", "format": "double", "readOnly": true }, "SystemLog": { "type": "number", "format": "double", "readOnly": true }, "CamLog": { "type": "number", "format": "double", "readOnly": true }, "LocalBackups": { "type": "number", "format": "double", "readOnly": true }, "Other": { "type": "number", "format": "double", "readOnly": true } }, "additionalProperties": false }, "DiskUsageReport": { "type": "object", "properties": { "Latest": { "$ref": "#/components/schemas/DiskUsagePercent" }, "OldestEvents": { "$ref": "#/components/schemas/DiskUsageOldestEvents" }, "History": { "type": "array", "items": { "$ref": "#/components/schemas/DiskUsagePercent" }, "nullable": true }, "IsLowSpace": { "type": "boolean" } }, "additionalProperties": false }, "DoorState": { "type": "object", "properties": { "Status": { "enum": [ "Closed", "Opened", "TooLong", "Unauthorized", "Unknown" ], "type": "string" }, "Timestamp": { "type": "string", "format": "date-time", "nullable": true }, "Problem": { "type": "string", "nullable": true } }, "additionalProperties": false }, "EmailSettings": { "required": [ "HeaderBackgroundColor", "HeaderTextColor" ], "type": "object", "properties": { "HeaderBackgroundColor": { "minLength": 1, "type": "string" }, "HeaderTextColor": { "minLength": 1, "type": "string" }, "Revision": { "type": "integer", "format": "int32" }, "Templates": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/EmailTemplate" }, "nullable": true } }, "additionalProperties": false }, "EmailTemplate": { "type": "object", "properties": { "Subject": { "maxLength": 128, "type": "string", "nullable": true }, "Header": { "maxLength": 128, "type": "string", "nullable": true }, "Introduction": { "type": "string", "nullable": true }, "Message": { "type": "string", "nullable": true }, "Signature": { "type": "string", "nullable": true } }, "additionalProperties": false }, "EncryptedCredentialDto": { "type": "object", "properties": { "Uid": { "type": "string", "format": "byte", "nullable": true }, "EncryptedCredential": { "type": "string", "format": "byte", "nullable": true } }, "additionalProperties": false }, "EntityCounts": { "type": "object", "properties": { "Companies": { "type": "integer", "format": "int32" }, "Users": { "type": "integer", "format": "int32" }, "Visitors": { "type": "integer", "format": "int32" }, "Groups": { "type": "integer", "format": "int32" }, "Zones": { "type": "integer", "format": "int32" }, "Devices": { "type": "integer", "format": "int32" }, "TimeProfiles": { "type": "integer", "format": "int32" }, "AccessRules": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ErrorResult": { "type": "object", "properties": { "Code": { "$ref": "#/components/schemas/ApplicationError" }, "Message": { "type": "string", "nullable": true }, "Params": { "type": "object", "additionalProperties": { "type": "string", "nullable": true }, "nullable": true }, "Detail": { "nullable": true } }, "additionalProperties": false }, "Features": { "type": "object", "properties": { "ButtonCount": { "type": "integer", "format": "int32", "readOnly": true }, "HasAccessControl": { "type": "boolean", "readOnly": true }, "HasDoorControl": { "type": "boolean", "readOnly": true }, "HasLiftControl": { "type": "boolean", "readOnly": true }, "HasSecureCards": { "type": "boolean", "readOnly": true }, "HasVirtualNumbers": { "type": "boolean", "readOnly": true }, "HasSwitchControl": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "FieldDescription": { "type": "object", "properties": { "Name": { "type": "string", "nullable": true }, "Type": { "type": "string", "nullable": true }, "Description": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Finger": { "enum": [ "LeftLittleFinger", "LeftRingFinger", "LeftMiddleFinger", "LeftIndexFinger", "LeftThumb", "RightThumb", "RightIndexFinger", "RightMiddleFinger", "RightRingFinger", "RightLittleFinger" ], "type": "string" }, "Fingerprint": { "type": "object", "properties": { "Finger": { "$ref": "#/components/schemas/Finger" }, "Template": { "type": "string", "nullable": true }, "OpensDoor": { "type": "boolean" }, "TriggersSilentAlarm": { "type": "boolean" }, "ExecutesAutomation1": { "type": "boolean" }, "ExecutesAutomation2": { "type": "boolean" } }, "additionalProperties": false }, "Firmware": { "type": "object", "properties": { "IsSupported": { "type": "boolean", "readOnly": true }, "IsApproved": { "type": "boolean", "readOnly": true }, "Version": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "FirmwareChange": { "type": "object", "additionalProperties": false }, "FirmwareDeployment": { "type": "object", "properties": { "FirmwareKey": { "type": "string", "nullable": true, "readOnly": true }, "DeviceType": { "type": "string", "nullable": true }, "TargetVersion": { "type": "string", "nullable": true }, "CandidateVersion": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "FirmwareDeploymentStatus": { "type": "object", "properties": { "Deployment": { "$ref": "#/components/schemas/FirmwareDeployment" }, "FailedUpdates": { "type": "integer", "format": "int32" }, "PendingUpdates": { "type": "integer", "format": "int32" }, "TotalUpdates": { "type": "integer", "format": "int32" }, "TotalDevices": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "FtpConnection": { "type": "object", "properties": { "FileUrl": { "type": "string", "nullable": true }, "Username": { "type": "string", "nullable": true }, "Password": { "type": "string", "nullable": true }, "UseSSL": { "type": "boolean" } }, "additionalProperties": false }, "FtpSynchronization": { "type": "object", "properties": { "Connection": { "$ref": "#/components/schemas/FtpConnection" }, "Schedule": { "$ref": "#/components/schemas/SynchronizationSchedule" } }, "additionalProperties": false }, "Group": { "type": "object", "properties": { "Members": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" }, "nullable": true }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "string", "format": "uuid", "readOnly": true }, "Company": { "$ref": "#/components/schemas/Int32IdName" }, "MemberCount": { "type": "integer", "format": "int32", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "GroupJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/GroupOperation" }, "nullable": true } }, "additionalProperties": false }, "GroupOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GroupQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Group" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "GuidEntity": { "type": "object", "properties": { "Name": { "type": "string", "nullable": true }, "Id": { "type": "string", "format": "uuid", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "GuidGroupBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "GuidIdName": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid" }, "Name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GuidIdNameType": { "type": "object", "properties": { "Type": { "type": "string", "nullable": true }, "Id": { "type": "string", "format": "uuid" }, "Name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GuidPatchError": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid" }, "Error": { "$ref": "#/components/schemas/ErrorResult" } }, "additionalProperties": false }, "GuidSearchResult": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid" }, "Name": { "type": "string", "nullable": true }, "Type": { "type": "string", "nullable": true }, "Pattern": { "type": "string", "nullable": true }, "Properties": { "type": "array", "items": { "$ref": "#/components/schemas/Property" }, "nullable": true } }, "additionalProperties": false }, "GuidTimeProfileBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "GuidUserBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "GuidVisitorBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "GuidZoneBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "Hardware": { "type": "object", "properties": { "SerialNumber": { "type": "string", "nullable": true, "readOnly": true }, "ProductName": { "type": "string", "nullable": true, "readOnly": true }, "DevType": { "type": "string", "nullable": true, "readOnly": true }, "MacAddress": { "type": "string", "nullable": true, "readOnly": true }, "IsAnsweringUnit": { "type": "boolean", "readOnly": true }, "IsIndoorTouch": { "type": "boolean", "readOnly": true }, "IsIndoorTouch2": { "type": "boolean", "readOnly": true }, "HasDisplay": { "type": "boolean", "readOnly": true }, "KeypadConnected": { "type": "boolean", "readOnly": true }, "HasCamera": { "type": "boolean", "readOnly": true }, "HasSnapshotCamera": { "type": "boolean", "readOnly": true }, "ExternalCameraEnabled": { "type": "boolean", "readOnly": true }, "HasDoorSensor": { "type": "boolean", "readOnly": true }, "HasRexButton": { "type": "boolean", "readOnly": true }, "AccessPoint0Modules": { "type": "array", "items": { "$ref": "#/components/schemas/HardwareModule" }, "nullable": true, "readOnly": true }, "AccessPoint1Modules": { "type": "array", "items": { "$ref": "#/components/schemas/HardwareModule" }, "nullable": true, "readOnly": true }, "HasDisplayFolderImages": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "HardwareModule": { "type": "object", "properties": { "SerialNumber": { "type": "string", "nullable": true }, "Type": { "type": "string", "nullable": true }, "Name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Holiday": { "type": "object", "properties": { "Name": { "type": "string", "nullable": true }, "IsRecurring": { "type": "boolean" }, "Date": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "IdName": { "type": "object", "properties": { "Id": { "type": "string", "nullable": true }, "Name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "IdNameType": { "type": "object", "properties": { "Type": { "type": "string", "nullable": true }, "Id": { "type": "string", "nullable": true }, "Name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ImportRequest": { "type": "object", "properties": { "Host": { "type": "string", "nullable": true }, "Username": { "type": "string", "nullable": true }, "Password": { "type": "string", "nullable": true } }, "additionalProperties": false }, "IncompatibleFirmware": { "type": "object", "properties": { "Version": { "type": "string", "nullable": true }, "DeviceType": { "type": "string", "nullable": true }, "IsApproved": { "type": "boolean", "nullable": true } }, "additionalProperties": false }, "IncompatibleFirmwareQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/IncompatibleFirmware" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "Int32AccessRuleBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "Int32AreaBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "Int32CamLogBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "Int32CompanyBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "Int32DeviceBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "Int32IdName": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "Name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Int32NotificationBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "Int32PatchError": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "Error": { "$ref": "#/components/schemas/ErrorResult" } }, "additionalProperties": false }, "Int32SearchResult": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "Name": { "type": "string", "nullable": true }, "Type": { "type": "string", "nullable": true }, "Pattern": { "type": "string", "nullable": true }, "Properties": { "type": "array", "items": { "$ref": "#/components/schemas/Property" }, "nullable": true } }, "additionalProperties": false }, "Int32VisitorCardBulkPatchDocument": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" } } }, "additionalProperties": false }, "Interval": { "type": "object", "properties": { "From": { "type": "string", "format": "date-span" }, "To": { "type": "string", "format": "date-span" } }, "additionalProperties": false }, "JobStatus": { "type": "object", "properties": { "Timestamp": { "type": "string", "format": "date-time", "nullable": true }, "State": { "enum": [ "Unknown", "InProgress", "Successful", "Failed" ], "type": "string" } }, "additionalProperties": false }, "LdapConnectionSettings": { "required": [ "Host", "Password", "Username" ], "type": "object", "properties": { "Host": { "minLength": 1, "type": "string" }, "Port": { "type": "integer", "format": "int32" }, "Username": { "minLength": 1, "type": "string" }, "Password": { "minLength": 1, "type": "string" }, "UseSSL": { "type": "boolean" } }, "additionalProperties": false }, "LdapFieldMap": { "required": [ "UserNameAttribute" ], "type": "object", "properties": { "UserIdAttribute": { "type": "string", "nullable": true }, "UserNameAttribute": { "minLength": 1, "type": "string" }, "UserLoginAttribute": { "type": "string", "nullable": true }, "EmailAttribute": { "type": "string", "nullable": true }, "EmployeeIdAttribute": { "type": "string", "nullable": true }, "PhoneNumbers1Attribute": { "type": "string", "nullable": true }, "PhoneNumbers2Attribute": { "type": "string", "nullable": true }, "PhoneNumbers3Attribute": { "type": "string", "nullable": true }, "PinCodeAttribute": { "type": "string", "nullable": true }, "CardNumber1Attribute": { "type": "string", "nullable": true }, "CardNumber2Attribute": { "type": "string", "nullable": true }, "LicensePlatesAttribute": { "type": "string", "nullable": true }, "AvatarAttribute": { "type": "string", "nullable": true } }, "additionalProperties": false }, "LdapFields": { "type": "object", "properties": { "NextSynchronization": { "type": "string", "format": "date-time", "nullable": true }, "SynchronizedFields": { "$ref": "#/components/schemas/SynchronizedFields" } }, "additionalProperties": false }, "LdapGroupMap": { "type": "object", "properties": { "GroupNameAttribute": { "type": "string", "nullable": true }, "GroupMemberAttribute": { "type": "string", "nullable": true } }, "additionalProperties": false }, "LdapQuerySettings": { "required": [ "BaseDN" ], "type": "object", "properties": { "BaseDN": { "minLength": 1, "type": "string" }, "AdditionalUserDN": { "type": "string", "nullable": true }, "AdditionalGroupDN": { "type": "string", "nullable": true }, "UserFilter": { "type": "string", "nullable": true }, "NestedSearch": { "type": "boolean" }, "FollowReferral": { "type": "boolean" }, "PageSize": { "maximum": 2147483647, "minimum": 0, "type": "integer", "format": "int32" }, "GroupFilter": { "type": "string", "nullable": true }, "NestedGroups": { "type": "boolean" }, "UsePagination": { "type": "boolean", "readOnly": true }, "UserBaseDn": { "type": "string", "nullable": true, "readOnly": true }, "GroupBaseDn": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "LdapSettings": { "type": "object", "properties": { "Connection": { "$ref": "#/components/schemas/LdapConnectionSettings" }, "Query": { "$ref": "#/components/schemas/LdapQuerySettings" }, "Synchronization": { "$ref": "#/components/schemas/LdapSynchronizationSettings" } }, "additionalProperties": false }, "LdapSynchronizationSettings": { "type": "object", "properties": { "Enabled": { "type": "boolean" }, "FieldMap": { "$ref": "#/components/schemas/LdapFieldMap" }, "ImportAvatar": { "type": "boolean" }, "MissingUsersSynchronizationAction": { "enum": [ "Keep", "Disable", "Delete" ], "type": "string" }, "SyncDisabledFlag": { "type": "boolean" }, "SyncGroups": { "type": "boolean" }, "GroupMap": { "$ref": "#/components/schemas/LdapGroupMap" }, "LastSyncTime": { "type": "string", "format": "date-time", "nullable": true }, "NextSyncTime": { "type": "string", "format": "date-time", "nullable": true }, "LastSyncSuccess": { "type": "boolean" }, "StartTime": { "type": "string", "format": "date-span" }, "Frequency": { "enum": [ "Off", "Hourly", "Daily", "Weekly" ], "type": "string" }, "DayOfWeek": { "enum": [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], "type": "string" } }, "additionalProperties": false }, "LicenseFeatures": { "type": "object", "properties": { "Notifications": { "type": "boolean" }, "UserRoles": { "type": "boolean" }, "Presence": { "type": "boolean" }, "UserLimit": { "type": "integer", "format": "int32" }, "DeviceLimit": { "type": "integer", "format": "int32" }, "CamLogs": { "type": "boolean" }, "ManagerLimit": { "type": "integer", "format": "int32" }, "MobileKeyLocal": { "type": "boolean" }, "UserSynchronization": { "type": "boolean" }, "Attendance": { "type": "boolean" }, "FirmwareManagement": { "type": "boolean" }, "Visitors": { "type": "boolean" }, "Antipassback": { "type": "boolean" }, "Dashboard": { "type": "boolean" }, "Lockdown": { "type": "boolean" }, "Reports": { "type": "boolean" }, "BulkActions": { "type": "boolean" }, "MultiFactor": { "type": "boolean" }, "ApiKeys": { "type": "boolean" }, "TwoFactorAuthentication": { "type": "boolean" }, "InstallationId": { "type": "string", "format": "uuid" } }, "additionalProperties": false }, "LicenseInfo": { "type": "object", "properties": { "LicenseDeviceSN": { "type": "string", "nullable": true }, "Uploaded": { "type": "string", "format": "date-time", "nullable": true }, "Expires": { "type": "string", "nullable": true }, "RemainingUsers": { "type": "integer", "format": "int32" }, "RemainingDevices": { "type": "integer", "format": "int32" }, "RemainingManagers": { "type": "integer", "format": "int32" }, "LicenseTier": { "enum": [ "Old", "Basic", "Trial", "Advanced", "Pro", "Unlimited" ], "type": "string" }, "Features": { "$ref": "#/components/schemas/LicenseFeatures" } }, "additionalProperties": false }, "LiftDevice": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32", "readOnly": true }, "Name": { "type": "string", "nullable": true, "readOnly": true }, "Modules": { "type": "array", "items": { "$ref": "#/components/schemas/LiftModule" }, "nullable": true, "readOnly": true }, "Floors": { "type": "array", "items": { "$ref": "#/components/schemas/LiftFloor" }, "nullable": true, "readOnly": true }, "Hardware": { "$ref": "#/components/schemas/Hardware" } }, "additionalProperties": false }, "LiftFloor": { "type": "object", "properties": { "Name": { "type": "string", "nullable": true }, "PublicAccess": { "type": "boolean" }, "PublicAccessProfile": { "$ref": "#/components/schemas/GuidIdName" }, "Zone": { "$ref": "#/components/schemas/GuidIdName" }, "Id": { "type": "integer", "format": "int32", "readOnly": true }, "Enabled": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "LiftModule": { "type": "object", "properties": { "Id": { "type": "string", "nullable": true }, "Enabled": { "type": "boolean" }, "IpAddress": { "type": "string", "nullable": true }, "IsOnline": { "type": "boolean" }, "SerialNumber": { "type": "string", "nullable": true } }, "additionalProperties": false }, "LockdownOverview": { "type": "object", "properties": { "TotalDevices": { "type": "integer", "format": "int32" }, "LockdownDevices": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "LockdownRequest": { "type": "object", "properties": { "DeviceIds": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true }, "ZoneId": { "type": "string", "format": "uuid", "nullable": true }, "CompanyId": { "type": "integer", "format": "int32", "nullable": true }, "Global": { "type": "boolean" } }, "additionalProperties": false }, "LockdownState": { "type": "object", "properties": { "State": { "enum": [ "Unknown", "Normal", "Lockdown", "PartialLockdown" ], "type": "string", "readOnly": true }, "Confirmed": { "type": "boolean", "readOnly": true }, "Overview": { "$ref": "#/components/schemas/LockdownOverview" } }, "additionalProperties": false }, "LockdownUpdateMessage": { "type": "object", "properties": { "Type": { "enum": [ "Device", "Zone", "Company", "Global" ], "type": "string" }, "DeviceId": { "type": "integer", "format": "int32", "nullable": true }, "ZoneId": { "type": "string", "format": "uuid", "nullable": true }, "CompanyId": { "type": "integer", "format": "int32", "nullable": true }, "State": { "enum": [ "Unknown", "Normal", "Lockdown", "PartialLockdown" ], "type": "string" }, "Confirmed": { "type": "boolean", "nullable": true }, "Overview": { "$ref": "#/components/schemas/LockdownOverview" } }, "additionalProperties": false }, "LogLifespan": { "type": "object", "properties": { "MaximumRetention": { "maximum": 365, "minimum": 1, "type": "integer", "format": "int32" }, "MinimumRetention": { "maximum": 365, "minimum": 1, "type": "integer", "format": "int32" } }, "additionalProperties": false }, "LoginData": { "required": [ "Login", "Password" ], "type": "object", "properties": { "Login": { "minLength": 1, "type": "string" }, "Password": { "minLength": 1, "type": "string" }, "Code": { "type": "string", "nullable": true }, "LongTimeLogin": { "type": "boolean" } }, "additionalProperties": false }, "MailTest": { "required": [ "EmailTo" ], "type": "object", "properties": { "EmailTo": { "minLength": 1, "type": "string", "format": "email" }, "TemplateType": { "enum": [ "VisitorPin", "VisitorQrCode", "UserPin", "UserQrCode", "UserMobileKey" ], "type": "string" }, "TemplateData": { "$ref": "#/components/schemas/EmailTemplate" } }, "additionalProperties": false }, "MobileKeyKeyInfo": { "type": "object", "properties": { "KeyId": { "type": "string", "nullable": true }, "Created": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "MobileKeyLocationData": { "type": "object", "properties": { "Location": { "type": "string", "nullable": true }, "KeyId": { "type": "string", "nullable": true }, "PublicKey": { "type": "string", "nullable": true } }, "additionalProperties": false }, "MobileKeyPairing": { "type": "object", "properties": { "Pin": { "type": "string", "nullable": true }, "Until": { "type": "string", "format": "date-time" }, "Devices": { "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" }, "nullable": true } }, "additionalProperties": false }, "MultiFactorAuthentication": { "type": "object", "properties": { "TimeProfile": { "$ref": "#/components/schemas/GuidIdName" }, "RequiredOnlyOnEntry": { "type": "boolean" }, "CardRequired": { "type": "boolean" }, "CodeRequired": { "type": "boolean" }, "FingerprintRequired": { "type": "boolean" }, "MobileKeyRequired": { "type": "boolean" } }, "additionalProperties": false }, "NetworkSettings": { "type": "object", "properties": { "Method": { "enum": [ "Dhcp", "Manual" ], "type": "string" }, "IpAddress": { "type": "string", "nullable": true }, "Netmask": { "type": "string", "nullable": true }, "DefaultGateway": { "type": "string", "nullable": true }, "NameServer1": { "type": "string", "nullable": true }, "NameServer2": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Notification": { "type": "object", "properties": { "Events": { "type": "array", "items": { "enum": [ "DeviceState", "AudioLoopTest", "SipProxyState", "TamperSwitch", "UnauthorizedDoorOpen", "DoorOpenTooLong", "LoginBlocked", "LicenseIssues", "CsvSyncFailure", "UnsupportedFirmware", "RestrictionAreaState", "AntiPassbackViolation", "SilentAlarm", "ThirdPartyUsersWithAccess", "DirectoryLimitExceeded", "LiftModuleState", "DiskUsageHigh", "AccessModuleLocked", "SystemUpdateAvailable", "FirmwareUpdateFailed", "LdapSyncFailure", "FirmwareUpdateAvailable", "Lockdown", "OccupancyLimitReached", "PeriodicBackupFailed", "DeviceTimeSynchronizationError" ], "type": "string" }, "nullable": true }, "MonitorAllDevices": { "type": "boolean" }, "MonitoredDevices": { "uniqueItems": true, "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" }, "nullable": true }, "Channels": { "$ref": "#/components/schemas/Channels" }, "Recipients": { "$ref": "#/components/schemas/Recipients" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "integer", "format": "int32", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "NotificationJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/NotificationOperation" }, "nullable": true } }, "additionalProperties": false }, "NotificationOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "NotificationQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Notification" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "Operation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PasswordChange": { "type": "object", "properties": { "OldPassword": { "type": "string", "nullable": true }, "NewPassword": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PasswordSetRequest": { "required": [ "NewPassword", "Token" ], "type": "object", "properties": { "Token": { "maxLength": 40, "minLength": 1, "type": "string" }, "NewPassword": { "minLength": 1, "type": "string" } }, "additionalProperties": false }, "PasswordSetResponse": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid" }, "Login": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PeriodicBackupSetting": { "type": "object", "properties": { "Frequency": { "enum": [ "Daily", "Weekly", "Monthly" ], "type": "string" }, "DayOfWeek": { "enum": [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], "type": "string" }, "Password": { "type": "string", "nullable": true }, "StartTime": { "type": "string", "format": "date-span" }, "DayOfMonth": { "maximum": 31, "minimum": 1, "type": "integer", "format": "int32" } }, "additionalProperties": false }, "Person": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid" }, "Name": { "type": "string", "nullable": true }, "Type": { "type": "string", "nullable": true }, "Email": { "type": "string", "nullable": true }, "PhoneNumber": { "type": "string", "nullable": true }, "Company": { "$ref": "#/components/schemas/Int32IdName" }, "AvatarUrl": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PhoneNumber": { "type": "object", "properties": { "Number": { "type": "string", "nullable": true }, "TimeProfile": { "$ref": "#/components/schemas/GuidIdName" }, "CallNextNumberSimultaneously": { "type": "boolean" }, "IpEyeAddress": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Phonebook": { "type": "object", "properties": { "Nodes": { "type": "array", "items": { "$ref": "#/components/schemas/PhonebookNode" }, "nullable": true } }, "additionalProperties": false }, "PhonebookNode": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid", "nullable": true }, "Name": { "type": "string", "nullable": true }, "Type": { "enum": [ "User", "Group", "CallGroup", "Folder" ], "type": "string" }, "Priority": { "type": "integer", "format": "int32", "nullable": true }, "IsCallGroup": { "type": "boolean" }, "Highlight": { "type": "boolean" }, "Nodes": { "type": "array", "items": { "$ref": "#/components/schemas/PhonebookNode" }, "nullable": true }, "ImageUrl": { "type": "string", "nullable": true }, "ImageData": { "type": "string", "format": "byte", "nullable": true }, "GroupName": { "type": "string", "nullable": true }, "HasNodes": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "PicardSettings": { "type": "object", "properties": { "Aid": { "type": "string", "format": "byte", "nullable": true }, "AppAuthKey": { "type": "string", "format": "byte", "nullable": true } }, "additionalProperties": false }, "PresentPerson": { "type": "object", "properties": { "Person": { "$ref": "#/components/schemas/Person" }, "Groups": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" }, "nullable": true }, "Timestamp": { "type": "string", "format": "date-time" }, "Device": { "$ref": "#/components/schemas/Int32IdName" }, "Zone": { "$ref": "#/components/schemas/GuidIdName" }, "IsExit": { "type": "boolean" }, "Action": { "enum": [ "Add", "Remove", "Update" ], "type": "string" } }, "additionalProperties": false }, "PresentPersonQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/PresentPerson" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "Property": { "type": "object", "properties": { "Name": { "type": "string", "nullable": true }, "Value": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ProtocolVersion": { "enum": [ "2.0", "1.0", "3.0" ], "type": "string" }, "ProxySetting": { "type": "object", "properties": { "HttpProxy": { "type": "string", "format": "uri", "nullable": true }, "HttpsProxy": { "type": "string", "format": "uri", "nullable": true }, "FtpProxy": { "type": "string", "format": "uri", "nullable": true }, "SocksProxy": { "type": "string", "format": "uri", "nullable": true } }, "additionalProperties": false }, "ReaderSettings": { "type": "object", "properties": { "Rfid125kEnabled": { "type": "boolean" }, "Rfid13M56Enabled": { "type": "boolean" }, "FingerprintEnabled": { "type": "boolean" }, "BluetoothEnabled": { "type": "boolean" }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ReaderSettingsDto": { "type": "object", "properties": { "Picard": { "$ref": "#/components/schemas/PicardSettings" } }, "additionalProperties": false }, "Recipient": { "type": "object", "properties": { "Id": { "type": "string", "format": "uuid" }, "Name": { "type": "string", "nullable": true }, "Email": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Recipients": { "type": "object", "properties": { "Users": { "uniqueItems": true, "type": "array", "items": { "$ref": "#/components/schemas/Recipient" }, "nullable": true }, "External": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "RelayState": { "type": "object", "properties": { "Status": { "enum": [ "False", "True", "Unknown" ], "type": "string" }, "Timestamp": { "type": "string", "format": "date-time", "nullable": true }, "Problem": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ReleaseNotes": { "type": "object", "properties": { "Version": { "type": "string", "nullable": true }, "Text": { "type": "string", "nullable": true }, "Language": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ReportInfo": { "type": "object", "properties": { "IsCustom": { "type": "boolean" }, "Name": { "type": "string", "nullable": true }, "Category": { "type": "string", "nullable": true }, "ContainsSensitiveInformation": { "type": "boolean" }, "Id": { "type": "string", "nullable": true } }, "additionalProperties": false }, "RestoreRequest": { "type": "object", "properties": { "FileName": { "type": "string", "nullable": true }, "Password": { "type": "string", "nullable": true }, "LowerVersionAccepted": { "type": "boolean" }, "Location": { "enum": [ "Local", "Smb", "Upload" ], "type": "string" } }, "additionalProperties": false }, "Roles": { "type": "object", "properties": { "VisitorCompanies": { "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" }, "nullable": true }, "DoorDevices": { "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" }, "nullable": true }, "AttendanceGroups": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" }, "nullable": true }, "IsAdmin": { "type": "boolean" }, "IsAccessManager": { "type": "boolean" }, "IsUserManager": { "type": "boolean" }, "IsVisitorManager": { "type": "boolean" }, "IsDoorManager": { "type": "boolean" }, "IsAttendanceManager": { "type": "boolean" } }, "additionalProperties": false }, "SearchResultLockdown": { "type": "object", "properties": { "lockdownables": { "type": "array", "items": { "$ref": "#/components/schemas/SearchResultLockdownItem" }, "nullable": true } }, "additionalProperties": false }, "SearchResultLockdownItem": { "type": "object", "properties": { "Id": { "type": "string", "nullable": true }, "Name": { "type": "string", "nullable": true }, "Type": { "type": "string", "nullable": true }, "Devices": { "type": "array", "items": { "$ref": "#/components/schemas/IdName" }, "nullable": true } }, "additionalProperties": false }, "SearchResults": { "type": "object", "properties": { "ResultsGuid": { "type": "array", "items": { "$ref": "#/components/schemas/GuidSearchResult" }, "nullable": true }, "ResultsInt": { "type": "array", "items": { "$ref": "#/components/schemas/Int32SearchResult" }, "nullable": true } }, "additionalProperties": false }, "SecondFactorCredential": { "type": "object", "properties": { "CreatedOn": { "type": "string", "format": "date-time", "readOnly": true }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "string", "format": "uuid", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "SecureCardKeyInfo": { "type": "object", "properties": { "Description": { "type": "string", "nullable": true }, "Hash": { "type": "string", "nullable": true } }, "additionalProperties": false }, "SecureCardKeysImport": { "required": [ "Payload" ], "type": "object", "properties": { "Password": { "type": "string", "nullable": true }, "Payload": { "type": "string", "format": "byte" } }, "additionalProperties": false }, "SipRegistrationState": { "type": "object", "properties": { "Status": { "enum": [ "Unregistered", "Registering", "Registered", "Unregistering", "Error", "Unknown" ], "type": "string" }, "Timestamp": { "type": "string", "format": "date-time", "nullable": true }, "Problem": { "type": "string", "nullable": true } }, "additionalProperties": false }, "SmtpSettings": { "required": [ "FromAddress", "Host" ], "type": "object", "properties": { "Host": { "minLength": 1, "type": "string" }, "Username": { "type": "string", "nullable": true }, "Password": { "type": "string", "nullable": true }, "FromAddress": { "minLength": 1, "type": "string", "format": "email" }, "Enabled": { "type": "boolean" }, "Ssl": { "type": "boolean" }, "ValidateCertificate": { "type": "boolean" }, "UseLegacyMode": { "type": "boolean" }, "Revision": { "type": "integer", "format": "int32" }, "Port": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Snapshot": { "type": "object", "properties": { "Timestamp": { "type": "string", "format": "date-time" }, "ImageUrl": { "type": "string", "format": "uri", "nullable": true } }, "additionalProperties": false }, "State": { "type": "object", "properties": { "HeldOpen": { "type": "boolean" }, "HoldOpenUntil": { "type": "string", "format": "date-time", "nullable": true }, "Lockdown": { "$ref": "#/components/schemas/DeviceLockdownState" }, "LiftModules": { "type": "array", "items": { "$ref": "#/components/schemas/LiftModule" }, "nullable": true }, "IsLicensedDevice": { "type": "boolean", "readOnly": true }, "Status": { "enum": [ "Unknown", "CertificateInvalid", "Inaccessible", "LoginFailed", "Online", "Unmanaged", "Incompatible" ], "type": "string", "readOnly": true }, "UpTime": { "type": "integer", "format": "int32", "readOnly": true }, "Sip1": { "$ref": "#/components/schemas/SipRegistrationState" }, "Sip2": { "$ref": "#/components/schemas/SipRegistrationState" }, "AudioLoopTest": { "$ref": "#/components/schemas/AudioTestResultState" }, "TamperSwitch": { "$ref": "#/components/schemas/TriggerState" }, "Door": { "$ref": "#/components/schemas/DoorState" }, "Out": { "$ref": "#/components/schemas/RelayState" }, "Problems": { "type": "array", "items": { "$ref": "#/components/schemas/DeviceProblem" }, "nullable": true, "readOnly": true }, "CanLockdown": { "type": "boolean", "readOnly": true }, "BackupStatus": { "$ref": "#/components/schemas/JobStatus" }, "RestoreStatus": { "$ref": "#/components/schemas/JobStatus" }, "UploadStatus": { "$ref": "#/components/schemas/JobStatus" }, "HasBackup": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "SynchronizationResult": { "type": "object", "properties": { "LastSynchronization": { "type": "string", "format": "date-time", "nullable": true }, "NextSynchronization": { "type": "string", "format": "date-time", "nullable": true }, "Status": { "enum": [ "Unknown", "InProgress", "Successful", "Failed", "WithErrors" ], "type": "string" } }, "additionalProperties": false }, "SynchronizationSchedule": { "type": "object", "properties": { "StartTime": { "type": "string", "format": "date-span" }, "Frequency": { "enum": [ "Off", "Hourly", "Daily", "Weekly" ], "type": "string" }, "DayOfWeek": { "enum": [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], "type": "string" } }, "additionalProperties": false }, "SynchronizedFields": { "type": "object", "properties": { "Name": { "type": "boolean" }, "Email": { "type": "boolean" }, "EmployeeId": { "type": "boolean" }, "PhoneNumbers1": { "type": "boolean" }, "PhoneNumbers2": { "type": "boolean" }, "PhoneNumbers3": { "type": "boolean" }, "PinCode": { "type": "boolean" }, "CardNumber1": { "type": "boolean" }, "CardNumber2": { "type": "boolean" }, "LicensePlates": { "type": "boolean" }, "Avatar": { "type": "boolean" }, "Group": { "type": "boolean" }, "PhoneNumber": { "type": "boolean", "readOnly": true }, "Card": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "SystemLogData": { "type": "object", "properties": { "Category": { "enum": [ "DeviceState", "Import", "UserSynchronization", "System", "UserAction", "AreaRestrictions" ], "type": "string" }, "Time": { "type": "string", "format": "date-time" }, "Severity": { "enum": [ "Info", "Warn", "Error" ], "type": "string" }, "Subject": { "$ref": "#/components/schemas/IdNameType" }, "Event": { "type": "string", "nullable": true }, "EventType": { "enum": [ "DeviceState", "AudioLoopTest", "SipProxyState", "TamperSwitch", "UnauthorizedDoorOpen", "DoorOpenTooLong", "LoginBlocked", "LicenseIssues", "CsvSyncFailure", "UnsupportedFirmware", "RestrictionAreaState", "AntiPassbackViolation", "SilentAlarm", "ThirdPartyUsersWithAccess", "DirectoryLimitExceeded", "LiftModuleState", "DiskUsageHigh", "AccessModuleLocked", "SystemUpdateAvailable", "FirmwareUpdateFailed", "LdapSyncFailure", "FirmwareUpdateAvailable", "Lockdown", "OccupancyLimitReached", "PeriodicBackupFailed", "DeviceTimeSynchronizationError" ], "type": "string", "nullable": true }, "Author": { "$ref": "#/components/schemas/IdName" }, "Detail": { "type": "string", "nullable": true }, "SnapshotTimestamp": { "type": "integer", "description": "Unix timestamp of camlog snapshot associated with the event. If no snapshot was taken it is null.", "format": "int32", "nullable": true }, "CreatedTimestamp": { "type": "string", "nullable": true }, "NotificationTriggered": { "type": "boolean" } }, "additionalProperties": false }, "SystemLogDataQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/SystemLogData" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "SystemResourcesInfo": { "type": "object", "properties": { "DiskUsage": { "type": "integer", "format": "int32" }, "MemoryUsage": { "type": "number", "format": "float" }, "CpuUsage": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true } }, "additionalProperties": false }, "SystemTime": { "type": "object", "properties": { "Utc": { "type": "string", "format": "date-time" }, "Local": { "type": "string", "format": "date-time" }, "UtcOffset": { "type": "string", "format": "date-span" } }, "additionalProperties": false }, "SystemUpdateStatus": { "enum": [0, 1, 2, 3, 4, 5, 6], "type": "integer", "description": "\u003Cul\u003E\u003Cli\u003E0 - \u003Ci\u003EUpToDate\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E1 - \u003Ci\u003EUpdateAvailable\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E2 - \u003Ci\u003EServerUnavailable\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E3 - \u003Ci\u003EDownloading\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E4 - \u003Ci\u003EReadyToUpdate\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E5 - \u003Ci\u003EUpdating\u003C/i\u003E\u003C/li\u003E\n\u003Cli\u003E6 - \u003Ci\u003EUpdateError\u003C/i\u003E\u003C/li\u003E\n\u003C/ul\u003E", "format": "int32" }, "SystemUpdateStep": { "type": "object", "properties": { "ReleaseDate": { "type": "string", "format": "date-time" }, "Version": { "type": "string", "nullable": true }, "ReleaseNotes": { "type": "array", "items": { "$ref": "#/components/schemas/ReleaseNotes" }, "nullable": true }, "ProgressPercentage": { "type": "integer", "format": "int32" }, "Status": { "$ref": "#/components/schemas/SystemUpdateStatus" } }, "additionalProperties": false }, "TimeProfile": { "type": "object", "properties": { "PositionOnDevices": { "type": "integer", "format": "int32", "nullable": true }, "Monday": { "$ref": "#/components/schemas/DayIntervals" }, "Tuesday": { "$ref": "#/components/schemas/DayIntervals" }, "Wednesday": { "$ref": "#/components/schemas/DayIntervals" }, "Thursday": { "$ref": "#/components/schemas/DayIntervals" }, "Friday": { "$ref": "#/components/schemas/DayIntervals" }, "Saturday": { "$ref": "#/components/schemas/DayIntervals" }, "Sunday": { "$ref": "#/components/schemas/DayIntervals" }, "Holiday": { "$ref": "#/components/schemas/DayIntervals" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "string", "format": "uuid", "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "TimeProfileJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/TimeProfileOperation" }, "nullable": true } }, "additionalProperties": false }, "TimeProfileOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "TimeProfileQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/TimeProfile" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "TopicDescription": { "type": "object", "properties": { "Name": { "type": "string", "nullable": true }, "Description": { "type": "string", "nullable": true }, "Roles": { "type": "array", "items": { }, "nullable": true }, "CanFilter": { "type": "boolean" }, "CanFetch": { "type": "boolean" }, "CanUpdate": { "type": "boolean" }, "Filter": { "type": "array", "items": { "$ref": "#/components/schemas/FieldDescription" }, "nullable": true }, "DataFields": { "type": "array", "items": { "$ref": "#/components/schemas/FieldDescription" }, "nullable": true } }, "additionalProperties": false }, "TriggerState": { "type": "object", "properties": { "Status": { "enum": [ "Out", "In" ], "type": "string" }, "Timestamp": { "type": "string", "format": "date-time", "nullable": true }, "Problem": { "type": "string", "nullable": true } }, "additionalProperties": false }, "UptimeUpdateMessage": { "type": "object", "properties": { "ServerTime": { "type": "string", "format": "date-time" }, "Uptime": { "type": "string", "format": "date-span" }, "Counter": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "User": { "type": "object", "properties": { "IsSysAdmin": { "type": "boolean", "readOnly": true }, "IsSuspended": { "type": "boolean" }, "Note": { "type": "string", "nullable": true }, "AttendanceMonitored": { "type": "boolean" }, "AccessCredentials": { "$ref": "#/components/schemas/AccessCredentials" }, "Account": { "$ref": "#/components/schemas/Account" }, "Calling": { "$ref": "#/components/schemas/UserCalling" }, "Integration": { "$ref": "#/components/schemas/UserIntegration" }, "Groups": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" }, "nullable": true }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "string", "format": "uuid", "readOnly": true }, "Company": { "$ref": "#/components/schemas/Int32IdName" }, "AvatarUrl": { "type": "string", "nullable": true, "readOnly": true }, "PinCollisions": { "type": "array", "items": { "$ref": "#/components/schemas/CodeCollision" }, "nullable": true, "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "UserButton": { "type": "object", "properties": { "Users": { "uniqueItems": true, "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" }, "nullable": true }, "ButtonNumber": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "UserCalling": { "type": "object", "properties": { "VirtualNumber": { "type": "string", "nullable": true }, "PhoneNumbers": { "type": "array", "items": { "$ref": "#/components/schemas/PhoneNumber" }, "nullable": true }, "Deputy": { "$ref": "#/components/schemas/GuidIdName" } }, "additionalProperties": false }, "UserIntegration": { "type": "object", "properties": { "ExternalId": { "type": "string", "nullable": true }, "VirtualCredential": { "type": "string", "nullable": true }, "FromExternalSystem": { "type": "boolean" }, "SwitchCodes": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "UserJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/UserOperation" }, "nullable": true } }, "additionalProperties": false }, "UserOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "UserQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/User" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "UserUpdate": { "type": "object", "properties": { "Action": { "$ref": "#/components/schemas/ActionType" }, "User": { "$ref": "#/components/schemas/User" } }, "additionalProperties": false }, "UserVirtualNumber": { "type": "object", "properties": { "User": { "$ref": "#/components/schemas/GuidIdName" }, "VirtualNumber": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "Visitor": { "required": [ "Company", "Name", "VisitTo" ], "type": "object", "properties": { "PinCollisions": { "type": "array", "items": { "$ref": "#/components/schemas/CodeCollision" }, "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" }, "Id": { "type": "string", "format": "uuid" }, "Name": { "maxLength": 60, "minLength": 1, "type": "string" }, "Company": { "$ref": "#/components/schemas/Int32IdName" }, "Email": { "type": "string", "format": "email", "nullable": true }, "Phone": { "maxLength": 255, "type": "string", "nullable": true }, "VisitorCompany": { "maxLength": 255, "type": "string", "nullable": true }, "VisitedPerson": { "maxLength": 255, "type": "string", "nullable": true }, "VisitedPersonId": { "type": "string", "format": "uuid", "nullable": true }, "Note": { "maxLength": 1024, "type": "string", "nullable": true }, "VisitFrom": { "type": "string", "format": "date-time", "nullable": true }, "VisitTo": { "type": "string", "format": "date-time" }, "Groups": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" }, "nullable": true }, "Credentials": { "$ref": "#/components/schemas/VisitorCredentialsDto" }, "State": { "$ref": "#/components/schemas/VisitorState" }, "IsSuspended": { "type": "boolean" }, "Incomplete": { "type": "boolean", "readOnly": true }, "AvatarUrl": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "VisitorCard": { "required": [ "TagId" ], "type": "object", "properties": { "TagId": { "minLength": 1, "type": "string" }, "Visitor": { "$ref": "#/components/schemas/GuidIdName" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "integer", "format": "int32", "readOnly": true }, "Company": { "$ref": "#/components/schemas/Int32IdName" }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "VisitorCardJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/VisitorCardOperation" }, "nullable": true } }, "additionalProperties": false }, "VisitorCardOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "VisitorCardQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/VisitorCard" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "VisitorCredentialsDto": { "type": "object", "properties": { "Card": { "type": "string", "nullable": true }, "Pin": { "type": "string", "nullable": true }, "QrCode": { "type": "string", "nullable": true }, "LicensePlate": { "maxLength": 10, "type": "string", "nullable": true }, "VisitorCardInternal": { "$ref": "#/components/schemas/VisitorCard" } }, "additionalProperties": false }, "VisitorJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/VisitorOperation" }, "nullable": true } }, "additionalProperties": false }, "VisitorOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "VisitorQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Visitor" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "VisitorSettings": { "type": "object", "properties": { "PredefinedVisitorGroups": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" }, "nullable": true }, "VisitorManagerGroups": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" }, "nullable": true }, "Credentials": { "type": "array", "items": { "enum": [ "Card", "Pin", "QRCode", "LicensePlate" ], "type": "string" }, "nullable": true } }, "additionalProperties": false }, "VisitorState": { "enum": [ "Planned", "Active", "Ended" ], "type": "string" }, "WorkInterval": { "type": "object", "properties": { "From": { "type": "string", "format": "date-time", "nullable": true }, "To": { "type": "string", "format": "date-time", "nullable": true }, "Note": { "type": "string", "nullable": true }, "IsEdited": { "type": "boolean", "readOnly": true }, "Id": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "Zone": { "type": "object", "properties": { "MultiFactorAuthentication": { "$ref": "#/components/schemas/MultiFactorAuthentication" }, "Companies": { "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" }, "nullable": true }, "AccessPoints": { "type": "array", "items": { "$ref": "#/components/schemas/ZoneAccessPoint" }, "nullable": true }, "Lockdown": { "$ref": "#/components/schemas/LockdownState" }, "ZonalCode": { "type": "string", "nullable": true }, "SilentAlarmEnabled": { "type": "boolean" }, "LimitFailedAccesses": { "type": "boolean" }, "LicensePlatesEnabled": { "type": "boolean" }, "Name": { "type": "string", "nullable": true }, "Id": { "type": "string", "format": "uuid", "readOnly": true }, "DeviceCount": { "type": "integer", "format": "int32", "readOnly": true }, "LiftAccess": { "type": "array", "items": { "$ref": "#/components/schemas/LiftDevice" }, "nullable": true, "readOnly": true }, "Problems": { "type": "array", "items": { "$ref": "#/components/schemas/ZoneProblem" }, "nullable": true, "readOnly": true }, "Type": { "type": "string", "nullable": true, "readOnly": true }, "Revision": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ZoneAccessPoint": { "type": "object", "properties": { "AccessPoint": { "$ref": "#/components/schemas/AccessPoint" }, "Device": { "$ref": "#/components/schemas/ApDevice" } }, "additionalProperties": false }, "ZoneJsonPatchDocument": { "type": "object", "properties": { "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/ZoneOperation" }, "nullable": true } }, "additionalProperties": false }, "ZoneOperation": { "type": "object", "properties": { "value": { "nullable": true }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ZoneProblem": { "type": "object", "properties": { "Type": { "enum": [ "NoDeviceInZone", "DeviceWithoutSilentAlarm", "DeviceWithoutSilentAlarmLicense", "ZonalCodeCollision", "DeviceWithoutLimitFailedAccess", "DeviceWithoutLimitFailedAccessLicense", "Other" ], "type": "string" }, "Devices": { "type": "array", "items": { "$ref": "#/components/schemas/Int32IdName" }, "nullable": true }, "Users": { "type": "array", "items": { "$ref": "#/components/schemas/GuidIdName" }, "nullable": true } }, "additionalProperties": false }, "ZoneQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Zone" }, "nullable": true }, "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false } }, "securitySchemes": { "Bearer": { "type": "http", "description": "Please enter token", "scheme": "bearer", "bearerFormat": "JWT" } } }, "security": [ { "Bearer": [] } ] }