# Digital Alarm Controller

## GET /api/digital-alarms/{alarmId}

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/{alarmId}":{"get":{"tags":["digital-alarm-controller"],"operationId":"getAlarm","parameters":[{"name":"alarmId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"required":["isActive","name"],"type":"object","allOf":[{"required":["isActive","name","type"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"offTimeVariableId":{"type":"string"},"groupId":{"type":"string"},"delay":{"minimum":0,"type":"integer","format":"int32"},"projectId":{"type":"string"},"isActive":{"type":"boolean"},"part":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"onTimeVariableId":{"type":"string"},"alarmType":{"type":"string"},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},{"type":"object","properties":{"variableBInverted":{"type":"boolean"},"andCalc":{"type":"boolean"},"variableAId":{"type":"string"},"variableBBitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableABitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableBId":{"type":"string"},"variableAInverted":{"type":"boolean"}}}]}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## PUT /api/digital-alarms/{alarmId}

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/{alarmId}":{"put":{"tags":["digital-alarm-controller"],"operationId":"updateAlarm","parameters":[{"name":"alarmId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["isActive","name"],"type":"object","allOf":[{"required":["isActive","name","type"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"offTimeVariableId":{"type":"string"},"groupId":{"type":"string"},"delay":{"minimum":0,"type":"integer","format":"int32"},"projectId":{"type":"string"},"isActive":{"type":"boolean"},"part":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"onTimeVariableId":{"type":"string"},"alarmType":{"type":"string"},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},{"type":"object","properties":{"variableBInverted":{"type":"boolean"},"andCalc":{"type":"boolean"},"variableAId":{"type":"string"},"variableBBitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableABitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableBId":{"type":"string"},"variableAInverted":{"type":"boolean"}}}]}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## DELETE /api/digital-alarms/{alarmId}

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/{alarmId}":{"delete":{"tags":["digital-alarm-controller"],"operationId":"deleteAlarm","parameters":[{"name":"alarmId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms":{"get":{"tags":["digital-alarm-controller"],"operationId":"getAlarms","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"required":["isActive","name"],"type":"object","allOf":[{"required":["isActive","name","type"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"offTimeVariableId":{"type":"string"},"groupId":{"type":"string"},"delay":{"minimum":0,"type":"integer","format":"int32"},"projectId":{"type":"string"},"isActive":{"type":"boolean"},"part":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"onTimeVariableId":{"type":"string"},"alarmType":{"type":"string"},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},{"type":"object","properties":{"variableBInverted":{"type":"boolean"},"andCalc":{"type":"boolean"},"variableAId":{"type":"string"},"variableBBitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableABitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableBId":{"type":"string"},"variableAInverted":{"type":"boolean"}}}]}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## POST /api/digital-alarms

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms":{"post":{"tags":["digital-alarm-controller"],"operationId":"createAlarm","requestBody":{"content":{"application/json":{"schema":{"required":["isActive","name"],"type":"object","allOf":[{"required":["isActive","name","type"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"offTimeVariableId":{"type":"string"},"groupId":{"type":"string"},"delay":{"minimum":0,"type":"integer","format":"int32"},"projectId":{"type":"string"},"isActive":{"type":"boolean"},"part":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"onTimeVariableId":{"type":"string"},"alarmType":{"type":"string"},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},{"type":"object","properties":{"variableBInverted":{"type":"boolean"},"andCalc":{"type":"boolean"},"variableAId":{"type":"string"},"variableBBitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableABitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableBId":{"type":"string"},"variableAInverted":{"type":"boolean"}}}]}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"required":["isActive","name"],"type":"object","allOf":[{"$ref":"#/paths/~1api~1digital-alarms/post/requestBody/content/application~1json/schema/allOf/0"},{"$ref":"#/paths/~1api~1digital-alarms/post/requestBody/content/application~1json/schema/allOf/1"}]}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## POST /api/digital-alarms/import

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/import":{"post":{"tags":["digital-alarm-controller"],"operationId":"importMetadataFromZip_17","parameters":[{"name":"importChecks","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["Project","AlarmGroup","Alarm","Animation","Connection","Device","Variable","Script","Report","Trend","Expression","DataTransfer","Template","Role","Keyword","VariableMonitor","Language","TraceTable","Dashboard","JsPdfReport","Faceplate","CustomSqlQuery","CustomInfluxDBQuery","JasperReport","CustomSqlDatasource","CustomInfluxDBDatasource","CustomMenu","Symbol","File"]}}}],"requestBody":{"content":{"application/json":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## POST /api/digital-alarms/filter/pages

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/filter/pages":{"post":{"tags":["digital-alarm-controller"],"operationId":"getAlarmsByFilter","parameters":[{"name":"pageable","in":"query","required":true,"schema":{"type":"object","properties":{"page":{"minimum":0,"type":"integer","format":"int32"},"size":{"minimum":1,"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"string"}}}}}],"requestBody":{"content":{"application/json":{"schema":{"required":["projectId"],"type":"object","properties":{"dscIn":{"type":"string"},"nameIn":{"type":"string"},"part":{"type":"string"},"projectId":{"type":"string"},"groupId":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"required":["isActive","name"],"type":"object","allOf":[{"required":["isActive","name","type"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"offTimeVariableId":{"type":"string"},"groupId":{"type":"string"},"delay":{"minimum":0,"type":"integer","format":"int32"},"projectId":{"type":"string"},"isActive":{"type":"boolean"},"part":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"onTimeVariableId":{"type":"string"},"alarmType":{"type":"string"},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},{"type":"object","properties":{"variableBInverted":{"type":"boolean"},"andCalc":{"type":"boolean"},"variableAId":{"type":"string"},"variableBBitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableABitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableBId":{"type":"string"},"variableAInverted":{"type":"boolean"}}}]}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"object","properties":{"direction":{"type":"string"},"nullHandling":{"type":"string"},"ascending":{"type":"boolean"},"property":{"type":"string"},"ignoreCase":{"type":"boolean"}}}},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"type":"object","properties":{"offset":{"type":"integer","format":"int64"},"sort":{"type":"array","items":{"type":"object","properties":{"$ref":"#/paths/~1api~1digital-alarms~1filter~1pages/post/responses/200/content/*~1*/schema/properties/sort/items/properties"}}},"pageNumber":{"type":"integer","format":"int32"},"unpaged":{"type":"boolean"},"paged":{"type":"boolean"},"pageSize":{"type":"integer","format":"int32"}}},"empty":{"type":"boolean"}}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms/{alarmId}/status

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/{alarmId}/status":{"get":{"tags":["digital-alarm-controller"],"operationId":"getAlarmStatus","parameters":[{"name":"alarmId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string","enum":["Active","Not Active"]}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms/status/by-project

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/status/by-project":{"get":{"tags":["digital-alarm-controller"],"operationId":"getAlarmStatusesByProject","parameters":[{"name":"projectId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string","enum":["Active","Not Active"]}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms/status/by-project-and-name

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/status/by-project-and-name":{"get":{"tags":["digital-alarm-controller"],"operationId":"getAlarmStatusByProjectAndName","parameters":[{"name":"projectId","in":"query","required":true,"schema":{"type":"string"}},{"name":"name","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string","enum":["Active","Not Active"]}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms/status/by-alarm-ids

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/status/by-alarm-ids":{"get":{"tags":["digital-alarm-controller"],"operationId":"getAlarmStatusesByAlarmIds","parameters":[{"name":"alarmIds","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string","enum":["Active","Not Active"]}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms/parts-by-project

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/parts-by-project":{"get":{"tags":["digital-alarm-controller"],"operationId":"getPartsByProjectId","parameters":[{"name":"projectId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"type":"string"}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms/pages

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/pages":{"get":{"tags":["digital-alarm-controller"],"operationId":"getAlarmsPage","parameters":[{"name":"arg0","in":"query","required":true,"schema":{"type":"object","properties":{"page":{"minimum":0,"type":"integer","format":"int32"},"size":{"minimum":1,"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"string"}}}}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"required":["isActive","name"],"type":"object","allOf":[{"required":["isActive","name","type"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"offTimeVariableId":{"type":"string"},"groupId":{"type":"string"},"delay":{"minimum":0,"type":"integer","format":"int32"},"projectId":{"type":"string"},"isActive":{"type":"boolean"},"part":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"onTimeVariableId":{"type":"string"},"alarmType":{"type":"string"},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},{"type":"object","properties":{"variableBInverted":{"type":"boolean"},"andCalc":{"type":"boolean"},"variableAId":{"type":"string"},"variableBBitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableABitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableBId":{"type":"string"},"variableAInverted":{"type":"boolean"}}}]}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"object","properties":{"direction":{"type":"string"},"nullHandling":{"type":"string"},"ascending":{"type":"boolean"},"property":{"type":"string"},"ignoreCase":{"type":"boolean"}}}},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"type":"object","properties":{"offset":{"type":"integer","format":"int64"},"sort":{"type":"array","items":{"type":"object","properties":{"$ref":"#/paths/~1api~1digital-alarms~1pages/get/responses/200/content/*~1*/schema/properties/sort/items/properties"}}},"pageNumber":{"type":"integer","format":"int32"},"unpaged":{"type":"boolean"},"paged":{"type":"boolean"},"pageSize":{"type":"integer","format":"int32"}}},"empty":{"type":"boolean"}}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms/pages/by-project

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/pages/by-project":{"get":{"tags":["digital-alarm-controller"],"operationId":"getAlarmsPageByProject","parameters":[{"name":"projectId","in":"query","required":true,"schema":{"type":"string"}},{"name":"pageable","in":"query","required":true,"schema":{"type":"object","properties":{"page":{"minimum":0,"type":"integer","format":"int32"},"size":{"minimum":1,"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"string"}}}}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"required":["isActive","name"],"type":"object","allOf":[{"required":["isActive","name","type"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"offTimeVariableId":{"type":"string"},"groupId":{"type":"string"},"delay":{"minimum":0,"type":"integer","format":"int32"},"projectId":{"type":"string"},"isActive":{"type":"boolean"},"part":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"onTimeVariableId":{"type":"string"},"alarmType":{"type":"string"},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},{"type":"object","properties":{"variableBInverted":{"type":"boolean"},"andCalc":{"type":"boolean"},"variableAId":{"type":"string"},"variableBBitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableABitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableBId":{"type":"string"},"variableAInverted":{"type":"boolean"}}}]}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"object","properties":{"direction":{"type":"string"},"nullHandling":{"type":"string"},"ascending":{"type":"boolean"},"property":{"type":"string"},"ignoreCase":{"type":"boolean"}}}},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"type":"object","properties":{"offset":{"type":"integer","format":"int64"},"sort":{"type":"array","items":{"type":"object","properties":{"$ref":"#/paths/~1api~1digital-alarms~1pages~1by-project/get/responses/200/content/*~1*/schema/properties/sort/items/properties"}}},"pageNumber":{"type":"integer","format":"int32"},"unpaged":{"type":"boolean"},"paged":{"type":"boolean"},"pageSize":{"type":"integer","format":"int32"}}},"empty":{"type":"boolean"}}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms/export

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/export":{"get":{"tags":["digital-alarm-controller"],"operationId":"exportMetadataToZip_17","parameters":[{"name":"exportChecks","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["Project","AlarmGroup","Alarm","Animation","Connection","Device","Variable","Script","Report","Trend","Expression","DataTransfer","Template","Role","Keyword","VariableMonitor","Language","TraceTable","Dashboard","JsPdfReport","Faceplate","CustomSqlQuery","CustomInfluxDBQuery","JasperReport","CustomSqlDatasource","CustomInfluxDBDatasource","CustomMenu","Symbol","File"]}}},{"name":"projectId","in":"query","required":false,"schema":{"type":"string"}},{"name":"includeIds","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms/by-project

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/by-project":{"get":{"tags":["digital-alarm-controller"],"operationId":"getAlarmsByProject","parameters":[{"name":"projectId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"required":["isActive","name"],"type":"object","allOf":[{"required":["isActive","name","type"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"offTimeVariableId":{"type":"string"},"groupId":{"type":"string"},"delay":{"minimum":0,"type":"integer","format":"int32"},"projectId":{"type":"string"},"isActive":{"type":"boolean"},"part":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"onTimeVariableId":{"type":"string"},"alarmType":{"type":"string"},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},{"type":"object","properties":{"variableBInverted":{"type":"boolean"},"andCalc":{"type":"boolean"},"variableAId":{"type":"string"},"variableBBitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableABitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableBId":{"type":"string"},"variableAInverted":{"type":"boolean"}}}]}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms/by-project-and-name

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/by-project-and-name":{"get":{"tags":["digital-alarm-controller"],"operationId":"getAlarmByName","parameters":[{"name":"projectId","in":"query","required":true,"schema":{"type":"string"}},{"name":"alarmName","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"required":["isActive","name"],"type":"object","allOf":[{"required":["isActive","name","type"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"offTimeVariableId":{"type":"string"},"groupId":{"type":"string"},"delay":{"minimum":0,"type":"integer","format":"int32"},"projectId":{"type":"string"},"isActive":{"type":"boolean"},"part":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"onTimeVariableId":{"type":"string"},"alarmType":{"type":"string"},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},{"type":"object","properties":{"variableBInverted":{"type":"boolean"},"andCalc":{"type":"boolean"},"variableAId":{"type":"string"},"variableBBitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableABitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableBId":{"type":"string"},"variableAInverted":{"type":"boolean"}}}]}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/digital-alarms/by-project-and-group

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/by-project-and-group":{"get":{"tags":["digital-alarm-controller"],"operationId":"getAlarmsByProjectAndGroup","parameters":[{"name":"projectId","in":"query","required":true,"schema":{"type":"string"}},{"name":"groupName","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"required":["isActive","name"],"type":"object","allOf":[{"required":["isActive","name","type"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"offTimeVariableId":{"type":"string"},"groupId":{"type":"string"},"delay":{"minimum":0,"type":"integer","format":"int32"},"projectId":{"type":"string"},"isActive":{"type":"boolean"},"part":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"onTimeVariableId":{"type":"string"},"alarmType":{"type":"string"},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},{"type":"object","properties":{"variableBInverted":{"type":"boolean"},"andCalc":{"type":"boolean"},"variableAId":{"type":"string"},"variableBBitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableABitOffset":{"maximum":63,"minimum":0,"type":"integer","format":"int32"},"variableBId":{"type":"string"},"variableAInverted":{"type":"boolean"}}}]}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## DELETE /api/digital-alarms/multi/by-ids

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/digital-alarms/multi/by-ids":{"delete":{"tags":["digital-alarm-controller"],"operationId":"deleteAlarmsByIds","parameters":[{"name":"alarmIds","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```
