CustomerId.
Field reference
Field definitions match the challenge models of the Challenges endpoints.
Draw lottery winners shows these actions in Lobyco Nexus. Each one is possible only after a lottery challenge has ended, and only until its winners are approved.
Lottery Winners Drawn carries no winners.
WinnersCount is the sum of TotalRewards over Rewards. It is the number of prizes the draw gives out at most, not the number of customers drawn. BackupWinnersCount is the number of backup winners the admin user asked for, or 0. On a store lottery, both counts are per store.
Lottery Winners Approved carries the challenge’s whole configuration in ActivityConfiguration. When a bonus reward can’t be allocated, the draw stays unapproved and Lobyco publishes nothing.
On Lottery Winner Removed, WinnerToRemove is the winner taken off the list and RemoveReason is the reason the admin user gave. NewWinner is the customer drawn to take their place, or null when no customer was eligible. In both, MemberId identifies the customer.
EventId joins the event’s name, an identifier and a time from the payload, written as yyyy-MM-ddTHH:mm:ss.fffffff. Each schema’s EventId description shows which identifier and which time.
Schemas
- Lottery Winners Drawn
- Lottery Winners Approved
- Lottery Winner Removed
API reference
Endpoint documentation: Challenges.Related
- Challenge events — the definition the lottery belongs to.
- Card events — the cards whose customers enter the draw.
- Draw lottery winners — what an admin user does in Lobyco Nexus.