---
title: "Return voting records for a Member"
method: GET
path: "/data/Divisions/membervoting"
tags: ["Divisions"]
---

# Return voting records for a Member

`GET /data/Divisions/membervoting`

Get a list of voting records for a Member.

## Query parameters

- `MemberId` integer, required
- `SearchTerm` string
- `IncludeWhenMemberWasTeller` boolean
- `StartDate` string, date-time
- `EndDate` string, date-time
- `DivisionNumber` integer
- `TotalVotesCast.Comparator` 'LessThan' | 'LessThanOrEqualTo' | 'EqualTo' | 'GreaterThanOrEqualTo' | 'GreaterThan'
- `TotalVotesCast.ValueToCompare` integer
- `Majority.Comparator` 'LessThan' | 'LessThanOrEqualTo' | 'EqualTo' | 'GreaterThanOrEqualTo' | 'GreaterThan'
- `Majority.ValueToCompare` integer
- `skip` integer
- `take` integer

## Response `200`

List of voting records for a member

- MemberVotingRecordViewModel
  - `memberId` integer
  - `memberWasContent` boolean
  - `memberWasTeller` boolean
  - `publishedDivision` DivisionViewModel
    - `divisionId` integer
    - `date` string, date-time
    - `number` integer
    - `notes` string, nullable
    - `title` string, nullable
    - `isWhipped` boolean
    - `isGovernmentContent` boolean
    - `authoritativeContentCount` integer — Authoritative content count is the official count. This is the teller content count when tellers are present, but member content count when there are no tellers.
    - `authoritativeNotContentCount` integer — Authoritative not content count is the official count. This is the teller not content count when tellers are present, but member not content count when there are no tellers.
    - `divisionHadTellers` boolean — Whether the division had tellers or not
    - `tellerContentCount` integer — Content count is count recorded by the tellers
    - `tellerNotContentCount` integer — Not Content count recorded by the tellers
    - `memberContentCount` integer — Member content count is the total tally of all members that voted content
    - `memberNotContentCount` integer — Member not content count is the total tally of all members that voted not content
    - `sponsoringMemberId` integer, nullable
    - `isHouse` boolean, nullable
    - `isInquorate` boolean
    - `amendmentMotionNotes` string, nullable
    - `isGovernmentWin` boolean, nullable
    - `remoteVotingStart` string, date-time, nullable
    - `remoteVotingEnd` string, date-time, nullable
    - `divisionWasExclusivelyRemote` boolean
    - `contentTellers` MemberViewModel[], nullable
      - `memberId` integer
      - `name` string, nullable
      - `listAs` string, nullable
      - `memberFrom` string, nullable
      - `party` string, nullable
      - `partyColour` string, nullable
      - `partyAbbreviation` string, nullable
      - `partyIsMainParty` boolean
    - `notContentTellers` MemberViewModel[], nullable
      - `memberId` integer
      - `name` string, nullable
      - `listAs` string, nullable
      - `memberFrom` string, nullable
      - `party` string, nullable
      - `partyColour` string, nullable
      - `partyAbbreviation` string, nullable
      - `partyIsMainParty` boolean
    - `contents` MemberViewModel[], nullable
      - `memberId` integer
      - `name` string, nullable
      - `listAs` string, nullable
      - `memberFrom` string, nullable
      - `party` string, nullable
      - `partyColour` string, nullable
      - `partyAbbreviation` string, nullable
      - `partyIsMainParty` boolean
    - `notContents` MemberViewModel[], nullable
      - `memberId` integer
      - `name` string, nullable
      - `listAs` string, nullable
      - `memberFrom` string, nullable
      - `party` string, nullable
      - `partyColour` string, nullable
      - `partyAbbreviation` string, nullable
      - `partyIsMainParty` boolean

## Other responses

- `400` — A parameter was not valid
- `503` — Temporary error occured when trying to get division

---

[API](https://skmtc.dev/parliament/apis/lords-votes-api.md) · [All operations](https://skmtc.dev/parliament/apis/lords-votes-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/parliament/lords-votes-api/revisions/ef3423285bb1/schema)
