Versions Compared

Key

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

...

If 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.

limit- the  the limit of events in the response.

...

The following parameters can be set as a filter:

  • type -  type of event; the actual types of events are given in the axxonsoft\bl\events.proto file;
  • subjects -  subject of event (server, device, archive, detector, etc.);
  • values -  exact value of event;
  • texts -  brief description of event.

...

Code Block
{
    "method": "axxonsoft.bl.events.DomainNotifier.PullEvents",
    "data": {
        "subscription_id": "a000ed13a003ed13-3b8f-4cef-a450-0199dc259w37",
        "filters": {
                "include": [{
                    "event_type":"ET_DetectorEvent",
                    "subject":"hosts/Server1/AVDetector.1/EventSupplier"
                },
                {
                    "event_type":"ET_DetectorEvent",
                    "subject":"hosts/Server1/AVDetector.2/EventSupplier"
                },
                {
                    "event_type":"ET_DetectorEvent",
                    "subject":"hosts/Server2/AVDetector.1/EventSupplier"
                }
                ]   
        }
    }
}

...

  • subscription_id − subscription ID (set arbitrarily in UUID format; mandatory parameter).
  • event_type - event – event type (optional parameter).
  • subject- subject – subject of the event (detectors in this example; optional parameter).

...