Record a member's votes
add_voteRecord a member's weekly meal votes by recipe ID or ballot position, replacing any previous votes. Creates new member names automatically.
Instructions
Record one member's votes for the current week (replaces their earlier votes). Accepts recipe_ids or ballot positions. Unknown member names are created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week_id | No | ||
| positions | No | Ballot numbers, 1-based | |
| recipe_ids | No | ||
| member_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tally | Yes | ||
| voted | Yes | ||
| votes | Yes | recipe_ids now held by this member | |
| member | Yes | ||
| not_yet_voted | Yes |