Go to documentation repository
On this page:
Alert initiation
POST http://IP-address:port/prefix/grpc
Request body:
{
"method":"axxonsoft.bl.logic.LogicService.RaiseAlert",
"data": {
"camera_ap" : "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0"
}
}
The response contains the alert id and the result.
{
"result": true,
"alert_id": "ddb5ab56-627e-4761-a1eb-f497ef2f7745"
}
Proceed to alert handling
{
"method":"axxonsoft.bl.logic.LogicService.BeginAlertReview",
"data":{
"camera_ap" : "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0",
"alert_id" : "ddb5ab56-627e-4761-a1eb-f497ef2f7745"
}
}
Cancel alert handling
{
"method":"axxonsoft.bl.logic.LogicService.CancelAlertReview",
"data":{
"camera_ap" : "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0",
"alert_id" : "ddb5ab56-627e-4761-a1eb-f497ef2f7745"
}
}
Continue alert handling
{
"method":"axxonsoft.bl.logic.LogicService.ContinueAlertReview",
"data":{
"camera_ap" : "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0",
"alert_id" : "ddb5ab56-627e-4761-a1eb-f497ef2f7745"
}
}
Review the alert
Attention!
To review the alert, it should be in the handling state.
{
"method":"axxonsoft.bl.logic.LogicService.CompleteAlertReview",
"data":{
"severity" : "SV_WARNING",
"bookmark" : {},
"camera_ap" : "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0",
"alert_id" : "ddb5ab56-627e-4761-a1eb-f497ef2f7745"
}
}
Note
The severity parameter determines the alert type:
SV_UNCLASSIFIED − missed;
SV_FALSE − false;
SV_WARNING − suspicious;
SV_ALARM − confirmed.
Review the alert with a comment
Attention!
To review the alert, it should be in the handling state.
Overview
Content Tools