Versions Compared

Key

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

...

The last event ID request

GET http://<IP-address>:<Port>/core/GetLastID

Request example

GET http://localhost:40000/core/GetLastID

...

The filter is configured on the settings panel of the HTTP-Server object — see Configuring the HTTP-Server object.

GET http://<IP-address>:<Port>/core/Events?keepAliveTime={keepAliveTime}&startingID={startingID}

Request parameters:

Parameter

Required

Description

keepAliveTimeNo

The time interval in seconds, within which the server will send a json of the {"time":"2019-03-19T14:56:26.317"} form to the client, containing the server time in UTC. The default is 5 seconds.

startingIDNo

ID of the event starting from which it is necessary to receive events.


Request example

GET http://localhost:40000/core/Events?keepAliveTime=5&startingID=8FFCDF07-5E4A-E911-95AE-F894C2A95BA4

...