# Fired Alarm Controller

## GET /api/alarms/fired-alarms/configs

>

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/alarms/fired-alarms/configs":{"get":{"tags":["fired-alarm-controller"],"operationId":"getFiredAlarmConfigs","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"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"}}}}}}}}}
```

## PUT /api/alarms/fired-alarms/configs

>

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/alarms/fired-alarms/configs":{"put":{"tags":["fired-alarm-controller"],"operationId":"setFiredAlarmConfigs","requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"OK"},"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/alarms/fired-alarms/force-off

>

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/alarms/fired-alarms/force-off":{"post":{"tags":["fired-alarm-controller"],"operationId":"forceOff","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"forcedOffBy":{"type":"string"},"comment":{"type":"string"},"forcedOff":{"type":"boolean"},"offValueB":{"type":"number","format":"double"},"projectId":{"type":"string"},"part":{"type":"string"},"firedAlarmType":{"type":"string"},"offValue":{"type":"number","format":"double"},"offTime":{"type":"string","format":"date-time"},"name":{"type":"string"},"group":{"type":"string"},"project":{"type":"string"},"groupId":{"type":"string"},"onValue":{"type":"number","format":"double"},"acknowledger":{"type":"string"},"dsc":{"type":"string"},"alarmId":{"type":"string"},"status":{"type":"string"},"onTime":{"type":"string","format":"date-time"},"acknowledgeTime":{"type":"string","format":"date-time"},"statusValue":{"type":"integer","format":"int32"},"onValueB":{"type":"number","format":"double"},"acknowledgeTimeInMs":{"type":"integer","format":"int64"},"offTimeInMs":{"type":"integer","format":"int64"},"onTimeInMs":{"type":"integer","format":"int64"}}}}},"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"}}}}}}}}}
```

## POST /api/alarms/fired-alarms/comment

>

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/alarms/fired-alarms/comment":{"post":{"tags":["fired-alarm-controller"],"operationId":"comment","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"forcedOffBy":{"type":"string"},"comment":{"type":"string"},"forcedOff":{"type":"boolean"},"offValueB":{"type":"number","format":"double"},"projectId":{"type":"string"},"part":{"type":"string"},"firedAlarmType":{"type":"string"},"offValue":{"type":"number","format":"double"},"offTime":{"type":"string","format":"date-time"},"name":{"type":"string"},"group":{"type":"string"},"project":{"type":"string"},"groupId":{"type":"string"},"onValue":{"type":"number","format":"double"},"acknowledger":{"type":"string"},"dsc":{"type":"string"},"alarmId":{"type":"string"},"status":{"type":"string"},"onTime":{"type":"string","format":"date-time"},"acknowledgeTime":{"type":"string","format":"date-time"},"statusValue":{"type":"integer","format":"int32"},"onValueB":{"type":"number","format":"double"},"acknowledgeTimeInMs":{"type":"integer","format":"int64"},"offTimeInMs":{"type":"integer","format":"int64"},"onTimeInMs":{"type":"integer","format":"int64"}}}}},"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"}}}}}}}}}
```

## POST /api/alarms/fired-alarms/acknowledge

>

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/alarms/fired-alarms/acknowledge":{"post":{"tags":["fired-alarm-controller"],"operationId":"acknowledge","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"forcedOffBy":{"type":"string"},"comment":{"type":"string"},"forcedOff":{"type":"boolean"},"offValueB":{"type":"number","format":"double"},"projectId":{"type":"string"},"part":{"type":"string"},"firedAlarmType":{"type":"string"},"offValue":{"type":"number","format":"double"},"offTime":{"type":"string","format":"date-time"},"name":{"type":"string"},"group":{"type":"string"},"project":{"type":"string"},"groupId":{"type":"string"},"onValue":{"type":"number","format":"double"},"acknowledger":{"type":"string"},"dsc":{"type":"string"},"alarmId":{"type":"string"},"status":{"type":"string"},"onTime":{"type":"string","format":"date-time"},"acknowledgeTime":{"type":"string","format":"date-time"},"statusValue":{"type":"integer","format":"int32"},"onValueB":{"type":"number","format":"double"},"acknowledgeTimeInMs":{"type":"integer","format":"int64"},"offTimeInMs":{"type":"integer","format":"int64"},"onTimeInMs":{"type":"integer","format":"int64"}}}}},"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"}}}}}}}}}
```

## GET /api/alarms/fired-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/alarms/fired-alarms":{"get":{"tags":["fired-alarm-controller"],"operationId":"getAllOnFiredAlarms","parameters":[{"name":"count","in":"query","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","properties":{"forcedOffBy":{"type":"string"},"comment":{"type":"string"},"forcedOff":{"type":"boolean"},"offValueB":{"type":"number","format":"double"},"projectId":{"type":"string"},"part":{"type":"string"},"firedAlarmType":{"type":"string"},"offValue":{"type":"number","format":"double"},"offTime":{"type":"string","format":"date-time"},"name":{"type":"string"},"group":{"type":"string"},"project":{"type":"string"},"groupId":{"type":"string"},"onValue":{"type":"number","format":"double"},"acknowledger":{"type":"string"},"dsc":{"type":"string"},"alarmId":{"type":"string"},"status":{"type":"string"},"onTime":{"type":"string","format":"date-time"},"acknowledgeTime":{"type":"string","format":"date-time"},"statusValue":{"type":"integer","format":"int32"},"onValueB":{"type":"number","format":"double"},"acknowledgeTimeInMs":{"type":"integer","format":"int64"},"offTimeInMs":{"type":"integer","format":"int64"},"onTimeInMs":{"type":"integer","format":"int64"}}}}}}},"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/alarms/fired-alarms/monitor

>

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/alarms/fired-alarms/monitor":{"get":{"tags":["fired-alarm-controller"],"operationId":"getMonitorData","parameters":[{"name":"projectId","in":"query","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","properties":{"forcedOffBy":{"type":"string"},"comment":{"type":"string"},"forcedOff":{"type":"boolean"},"offValueB":{"type":"number","format":"double"},"projectId":{"type":"string"},"part":{"type":"string"},"firedAlarmType":{"type":"string"},"offValue":{"type":"number","format":"double"},"offTime":{"type":"string","format":"date-time"},"name":{"type":"string"},"group":{"type":"string"},"project":{"type":"string"},"groupId":{"type":"string"},"onValue":{"type":"number","format":"double"},"acknowledger":{"type":"string"},"dsc":{"type":"string"},"alarmId":{"type":"string"},"status":{"type":"string"},"onTime":{"type":"string","format":"date-time"},"acknowledgeTime":{"type":"string","format":"date-time"},"statusValue":{"type":"integer","format":"int32"},"onValueB":{"type":"number","format":"double"},"acknowledgeTimeInMs":{"type":"integer","format":"int64"},"offTimeInMs":{"type":"integer","format":"int64"},"onTimeInMs":{"type":"integer","format":"int64"}}}}}}},"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/alarms/fired-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/alarms/fired-alarms/filter/pages":{"get":{"tags":["fired-alarm-controller"],"operationId":"getFiredAlarms","parameters":[{"name":"arg0","in":"query","required":true,"schema":{"type":"object","properties":{"ackDateEn":{"type":"string","format":"date-time"},"part":{"type":"string"},"onDateSt":{"type":"string","format":"date-time"},"offDateEn":{"type":"string","format":"date-time"},"name":{"type":"string"},"alarmIds":{"type":"array","items":{"type":"string"}},"ackDateSt":{"type":"string","format":"date-time"},"onDateEn":{"type":"string","format":"date-time"},"offDateSt":{"type":"string","format":"date-time"},"projectId":{"type":"string"},"acknowledger":{"type":"string"},"status":{"type":"string","enum":["On","Off"]},"groupId":{"type":"string"}}}},{"name":"arg1","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":{"type":"object","properties":{"forcedOffBy":{"type":"string"},"comment":{"type":"string"},"forcedOff":{"type":"boolean"},"offValueB":{"type":"number","format":"double"},"projectId":{"type":"string"},"part":{"type":"string"},"firedAlarmType":{"type":"string"},"offValue":{"type":"number","format":"double"},"offTime":{"type":"string","format":"date-time"},"name":{"type":"string"},"group":{"type":"string"},"project":{"type":"string"},"groupId":{"type":"string"},"onValue":{"type":"number","format":"double"},"acknowledger":{"type":"string"},"dsc":{"type":"string"},"alarmId":{"type":"string"},"status":{"type":"string"},"onTime":{"type":"string","format":"date-time"},"acknowledgeTime":{"type":"string","format":"date-time"},"statusValue":{"type":"integer","format":"int32"},"onValueB":{"type":"number","format":"double"},"acknowledgeTimeInMs":{"type":"integer","format":"int64"},"offTimeInMs":{"type":"integer","format":"int64"},"onTimeInMs":{"type":"integer","format":"int64"}}}},"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~1alarms~1fired-alarms~1filter~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"}}}}}}}}}
```
