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" } |
{ "method":"axxonsoft.bl.logic.LogicService.BeginAlertReview", "data":{ "camera_ap" : "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0", "alert_id" : "ddb5ab56-627e-4761-a1eb-f497ef2f7745" } } |
{ "method":"axxonsoft.bl.logic.LogicService.CancelAlertReview", "data":{ "camera_ap" : "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0", "alert_id" : "ddb5ab56-627e-4761-a1eb-f497ef2f7745" } } |
{ "method":"axxonsoft.bl.logic.LogicService.ContinueAlertReview", "data":{ "camera_ap" : "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0", "alert_id" : "ddb5ab56-627e-4761-a1eb-f497ef2f7745" } } |
To review the alert, it should 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" } } |
The severity parameter determines the alert type: SV_UNCLASSIFIED - missed; |