Enter a booth's raffle
booth_enter_raffleAfter the person has swapped cards with this booth (booth_connect), enters them in the booth's open raffle. Pass eventId and boothId as booth_connect was given them. Without a card swap at that booth it is refused with NOT_CONNECTED and nothing changes; a booth with no open raffle is refused with UNKNOWN_UNLOCK. A raffle they are already in is not entered twice: the reply says already. Returns ok, the raffle's id, done and a sentence for the person. Needs a personal connector token. It works in two steps: a call with no confirm returns a confirmToken and changes nothing; a call with confirm true and that token applies it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boothId | Yes | The booth id, as booth_connect was given it. | |
| confirm | No | Absent on the first call, which changes nothing. true, together with confirmToken, applies it. | |
| eventId | Yes | The event id or public slug the booth is at. | |
| confirmToken | No | The token the first call returned. Needed when confirm is true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | No | ||
| code | No | ||
| done | No | ||
| edit | No | ||
| kind | No | ||
| booth | No | ||
| error | No | ||
| title | No | ||
| already | No | ||
| message | No | ||
| preview | No | ||
| servedBy | No | ||
| confirmToken | No | ||
| expiresInSeconds | No |