Skip to main content

Returns if a specific election may be frozen

GET 

/elections/:electionId/freezable

Returns if a specific election may be frozen. This is true if the election is not jet frozen and is in a valid state. A valid state is:

  • The election must have at least one ballot paper.
  • Each ballot paper must have at least one section.
  • Each ballot paper section must have at least one candidate linked to it.
  • All candidates linked to the election must be linked to at least one ballot paper section.

Responses

OK. The request was successfully executed. Returns a boolean indicating if the election is freezable. True = Election can be frozen.