Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


Column
width35%


Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn this pageNa stronie:
Table of Contents



Column

...



Pozyskaj wszystkie zdarzenia z wybranego zakresu czasu

Code Block
{
    "method": "axxonsoft.bl.events.EventHistoryService.ReadEvents",
    "data": {
        "range": {
            "begin_time": "20200225T125548.340",
            "end_time": "20200225T130548.341"
        },
        "limit": 30,
        "offset": 0,
		"descending": false
    }
}

If Jeśli descending = false, then the events in the response will be sorted by time in ascending order. If descending = true, then the events will be sorted in descending order.

Get events by filter

The following parameters can be set as a filter:

wszystkie zdarzenia w odpowiedzi będą posortowane według czasu w kolejności rosnącej. Jeśli descending = true, wszystkie zdarzenia będą posortowane w porządku malejącym.

Pozyskaj filtrowane zdarzenia

Następujące parametry mogą być użyte jako filtr:

  • type - typ zdarzenia; faktyczne typy zdarzeń są zawarte w pliku type - type of event; the actual types of events are given in the axxonsoft\bl\events.proto file;
  • subjects - subject of event urządzenie, którego dotyczy zdarzenie (server, device, archive, detector, etc.);
  • values - exact value of eventdokładna wartość dla zdarzenia;
  • texts - brief description of event.krótki opis zdarzenia.

Pozyskaj zdarzenia o zmianie statusu określonej kameryGet events about status change of a specific camera:

Code Block
{
    "method": "axxonsoft.bl.events.EventHistoryService.ReadEvents",
    "data": {
        "range": {
            "begin_time": "20200225T152806.572",
            "end_time": "20200225T153806.572"
        },
        "filters": {
            "filters": [
                {
                    "type": "ET_IpDeviceStateChangedEvent",
                    "subjects": "hosts/Server1/DeviceIpint.10"
                }
            ]
        },
        "limit": 300,
        "offset": 0,
		"descending": false
    }
}

Get events about disconnection of all cameras::Pozyskaj zdarzenia o rozłączeniu ze wszystkich kamer:

Code Block
{
    "method": "axxonsoft.bl.events.EventHistoryService.ReadEvents",
    "data": {
        "range": {
            "begin_time": "20200226T074425.274",
            "end_time": "20200226T075425.274"
        },
        "filters": {
            "filters": [
                {
                    "type": "ET_IpDeviceStateChangedEvent",
                    "values": "IPDS_DISCONNECTED"
                }
            ]
        },
        "limit": 300,
        "offset": 0,
		"descending": false
    }
}

Search by text in event

The subject and the text of event are specified in filter.

Wyszukuj po tekście w zdarzeniach

Podmiot oraz opis zdarzenia są określane w filtrze.

Wyszukaj wszystkie zdarzenia dla danej kamery zawierające słowo "tracker" (limit 2 zdarzeńSearch by a specific camera for all events that contain the word tracker (2 events limit):

Code Block
{
    "method": "axxonsoft.bl.events.EventHistoryService.ReadTextEvents",
    "data": {
        "range": {
            "begin_time": "20200226T082741.159",
            "end_time": "20200226T083741.160"
        },
        "filters": {
            "filters": [
                {
                    "subjects": "hosts/Server1/DeviceIpint.7/SourceEndpoint.video:0:0",
                    "texts": "tracker"
                }
            ]
        },
        "limit": 2,
        "offset": 0,
		"descending": false
    }
}

...

Pozyskaj wszystkie alarmy

Code Block
{
    "method": "axxonsoft.bl.events.EventHistoryService.ReadAlerts",
    "data": {
        "range": {
            "begin_time": "20200225T150142.437",
            "end_time": "20200225T151142.437"
        },
        "limit":100,
        "offset":0,
		"descending": false
    }
}


Info
titleNote

If an operator’s comment was specified for the alarm, it will be in the response with the frame coordinates.

Get alerts by filter

Informacja

Jeśli komentarz operatora został określony dla danego alarmu, będzie on zawarty w odpowiedzi wraz z koordynatami ramki.

Pozyskaj filtrowane alarmy

Uruchomienia alarmu dla określonej kameryStart of alarms for a specific camera:

Code Block
{
    "method": "axxonsoft.bl.events.EventHistoryService.ReadAlerts",
    "data": {
        "range": {
            "begin_time": "20200225T150845.757",
            "end_time": "20200225T151845.758"
        },
        "filters": {
            "filters": [
                {
                    "subjects": "hosts/Server1/DeviceIpint.7/SourceEndpoint.video:0:0",
                    "values": "BEGAN"
                }
            ]
        },
        "limit":100,
        "offset":0,
		"descending": false
    }
}

Search for LPR events

...

Wyszukaj zdarzenia LPR

Wyszukaj określony numer tablicy

Code Block
{
    "method": "axxonsoft.bl.events.EventHistoryService.ReadLprEvents",
    "data": {
        "range": {
            "begin_time": "20200226T104305.137",
            "end_time": "20200226T105305.137"
        },
        "filters": {
            "filters": [
                {
                    "subjects": "hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0",
                    "values":"Н829М7"
                }
            ]
        },
        "limit":50,
        "offset":0,
		"descending": false
    }
}

...

Wyszukaj część numeru tablicy rejestracyjnej

Code Block
{
    "method": "axxonsoft.bl.events.EventHistoryService.ReadLprEvents",
    "data": {
        "range": {
            "begin_time": "20200226T104305.137",
            "end_time": "20200226T105305.137"
        },
        "filters": {
            "filters": [
                {
                    "subjects": "hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0"
                }
            ]
        },
        "limit":50,
        "offset":0,
        "search_predicate":"*82*",
		"descending": false
    }
}

...