Lucky Draw Record Tools
list_draw_runs
Section titled “list_draw_runs”Runs of a lucky draw with status, pool count and commit hash.
Access: Read | Scope: Event | Module: play
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
lucky_draw_id |
integer | Yes | Lucky draw ID (see list_lucky_draws). |
page |
integer | No | Page number. Default: 1. |
per_page |
integer | No | Results per page (max 100). Default: 25. |
get_draw_results
Section titled “get_draw_results”Winners and prizes of a run.
Access: Read | Scope: Event | Module: play
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
draw_run_id |
integer | Yes | Run ID (see list_draw_runs). |
get_lucky_draw_audit
Section titled “get_lucky_draw_audit”Audit history of a lucky draw (filter by action or run).
Access: Read | Scope: Event | Module: play
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
lucky_draw_id |
integer | Yes | Lucky draw ID (see list_lucky_draws). |
action |
string | No | Action name. |
draw_run_id |
integer | No | Run ID. |
page |
integer | No | Page number. Default: 1. |
per_page |
integer | No | Results per page (max 100). Default: 25. |
export_lucky_draw_record
Section titled “export_lucky_draw_record”The compliance record of a completed run as structured rows (summary, winners, a page of the weighted pool, audit page).
Access: Read | Scope: Event | Module: play
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
draw_run_id |
integer | Yes | Run ID (see list_draw_runs). |
page |
integer | No | Page number. Default: 1. |
per_page |
integer | No | Results per page (max 100). Default: 25. |
