Skip to main content
This method will register an event that has occurred in either the client app (eg. start of a certain feature or interaction within a feature) or in a third party provider (eg. a payment has occurred, etc). Events are stored for at least 30 days. Older events may be removed. To collect activation, deactivation or Customer Portal subscription events, register them explicitly using this method or RegisterEvents. These operations do not automatically create analytics events. Regular Web API logs are recorded separately. Note: You can either use this method standalone (eg. by only providing a machine code/device identifier) or together with Cryptolens Licensing module (which requires ProductId and optionally Key to be set). ProductId is always required when supplying Key, even for accounts with only one product. This method is accessed in several ways. Each way works in the same way and requires the same permission. The only difference is the type of parameters. Both cases are listed below:

Parameters

Method 1 (register only one event): https://api.cryptolens.io/api/ai/RegisterEvent Method 2 (register multiple event): https://api.cryptolens.io/api/ai/RegisterEvents

Retries and Batches

While an event is retained, sending the same ClientEventId and event details again succeeds without adding another event. Reusing that ID with different product, license, feature, event name, machine code, value, currency or metadata returns an error. An explicitly supplied non-zero Time must also match. Automatically assigned time and request IP are not compared. Null and empty strings are equivalent; other text is compared exactly, including case and whitespace. A batch is recorded atomically. Identical duplicates are skipped; a validation error or conflicting ClientEventId prevents all new events in that batch from being recorded. Without ClientEventId, each successful submission records a new event, including retries. Product and key restrictions on the access token apply to both methods.

Results

Example results

Errors

View the original Web API reference