Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.2 KB

SendEventRequest.md

File metadata and controls

14 lines (10 loc) · 1.2 KB

Com.Sajari.Sdk.Model.SendEventRequest

A request to send an event to the ranking system after a user interacts with a search result.

Properties

Name Type Description Notes
Metadata Dictionary<string, Object> An object made up of field-value pairs that contains additional metadata to record with the event. Every value in the object must be one of the following primitive types: - boolean - number - string [optional]
Name string The name of event, e.g. `click`, `redirect`, `purchase`.
Token string The token corresponding to the search result that was interacted with, e.g. `eyJ...`.
Weight int The weight assigned to the event. Generally a sensible weight is 1. If you want to weight an event in a certain way you can use a value other than 1. For example, if you want to capture profit in an event, you could set the weight to a value that represents the profit. [optional]

[Back to Model list] [Back to API list] [Back to README]