GeneratePositionRequestModel

Defines the type of position that should be generated.

NameDescriptionTypeAdditional Information
PositionType

The type of position which should be created. This can be one of the following values:

  • "new" = Start at the most current position (excluding the latest notification)
  • "latest" = Start at the most current position (including the latest notification)
  • "date" = Start with the first event that occurred at or after the date specified in StartDate
  • "horizon" = Start at the oldest event available
Note that when starting at historical events (applicable to "date" and "horizon") the notifications you get may be several days old. Due to the fact that event notifications are only stored for a certain amount of time, older events will be discarded after a while, no matter whether they have been fetched or not. Therefore please ensure to fetch your notifications in time.

string

Required

StartDate

The event date to start reading from. Only applicable, if a PositionType of "date" was specified. Please keep in mind that StartDate relates to the time an event was made available to the Unity API systems. When receiving notifications with such a date-based starting position, the response may include events with a slightly earlier event time than specified in StartDate.

date

None.