---
title: "ReturnVotes"
canonical: "https://docs.dk.is/space/DEV/10356101/ReturnVotes"
format: markdown
---
This function is used to return votes

## Parameters

Used to call the function

1. VoterNumber- String- see: [TMemberV2](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10355079)
2. VoterType : Integer - see: [Customer / member types](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10359094)
3. BallotId : String
4. ArrVotes : Array of [TElectionAnswer](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10356113)

## Returns

Returns the following

- [TWSResult](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10359106)

#### Additional information

VoterNumber and VoterType should be the same as used in retrieving Elections for said Member - see: [GetElections](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10356081)