Elections
Managing CRUD operations for elections.
Get all elections
Returns all elections with the public information fields, that are linked to user of the API access token.
Create a new election
Creates a new election with a link to the user of the API access token.
Update a specific election
Updates the configuration of the requested election with the provided information. The election can only be updated if the election is not frozen.
Get a specific election
Returns the requested election with all public information fields.
Delete a specific election
Deletes the requested election.A deletion can only be performed if the election is not frozen.Be aware that deleting an election will also trigger a deletion of all associated candidates, ballot papers, and votes.
Returns if a specific election may be frozen
Returns if a specific election may be frozen.
Freeze a specific election
Freezes the requested election if it is in a valid state.
Unfreeze a specific election
Unfreezes the selected election.