---
title: "GetElections"
canonical: "https://docs.dk.is/space/DEV/10356081/GetElections"
format: markdown
---
This function is used to retrieve elections from the system

## Parameters

Used to call the function

1. VoterType - Integer   
Is the type CRMLTMember (11) - see: [Customer / member types](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10359094)
2. Number - String  
The member number see: [TMemberV2](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10355079)

## Returns

Returns the following

- Array of  [TElectionBallot](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10356117)