GET v1/{Client}/Persons/{PersonId}/Votes

Gets all Vote records for a Person.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

PersonId

The Id of the person record.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GranicusVote
NameDescriptionTypeAdditional information
VoteId

integer

None.

VoteGuid

string

None.

VoteLastModifiedUtc

date

None.

VoteRowVersion

Collection of byte

None.

VotePersonId

integer

Required

VotePersonName

string

None.

VoteValueId

integer

Required

VoteValueName

string

None.

VoteSort

integer

None.

VoteResult

integer

None.

VoteEventItemId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VoteId": 1,
    "VoteGuid": "sample string 2",
    "VoteLastModifiedUtc": "2024-12-21T11:24:40.8623314-05:00",
    "VoteRowVersion": "QEA=",
    "VotePersonId": 4,
    "VotePersonName": "sample string 5",
    "VoteValueId": 1,
    "VoteValueName": "sample string 6",
    "VoteSort": 7,
    "VoteResult": 1,
    "VoteEventItemId": 8
  },
  {
    "VoteId": 1,
    "VoteGuid": "sample string 2",
    "VoteLastModifiedUtc": "2024-12-21T11:24:40.8623314-05:00",
    "VoteRowVersion": "QEA=",
    "VotePersonId": 4,
    "VotePersonName": "sample string 5",
    "VoteValueId": 1,
    "VoteValueName": "sample string 6",
    "VoteSort": 7,
    "VoteResult": 1,
    "VoteEventItemId": 8
  }
]

application/xml, text/xml

Sample:
<ArrayOfGranicusVote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <GranicusVote>
    <VoteEventItemId>8</VoteEventItemId>
    <VoteGuid>sample string 2</VoteGuid>
    <VoteId>1</VoteId>
    <VoteLastModifiedUtc>2024-12-21T11:24:40.8623314-05:00</VoteLastModifiedUtc>
    <VotePersonId>4</VotePersonId>
    <VotePersonName>sample string 5</VotePersonName>
    <VoteResult>1</VoteResult>
    <VoteRowVersion>QEA=</VoteRowVersion>
    <VoteSort>7</VoteSort>
    <VoteValueId>1</VoteValueId>
    <VoteValueName>sample string 6</VoteValueName>
  </GranicusVote>
  <GranicusVote>
    <VoteEventItemId>8</VoteEventItemId>
    <VoteGuid>sample string 2</VoteGuid>
    <VoteId>1</VoteId>
    <VoteLastModifiedUtc>2024-12-21T11:24:40.8623314-05:00</VoteLastModifiedUtc>
    <VotePersonId>4</VotePersonId>
    <VotePersonName>sample string 5</VotePersonName>
    <VoteResult>1</VoteResult>
    <VoteRowVersion>QEA=</VoteRowVersion>
    <VoteSort>7</VoteSort>
    <VoteValueId>1</VoteValueId>
    <VoteValueName>sample string 6</VoteValueName>
  </GranicusVote>
</ArrayOfGranicusVote>

text/javascript, application/javascript, application/json-p

Sample:
([{"VoteId":1,"VoteGuid":"sample string 2","VoteLastModifiedUtc":"2024-12-21T11:24:40.8623314-05:00","VoteRowVersion":"QEA=","VotePersonId":4,"VotePersonName":"sample string 5","VoteValueId":1,"VoteValueName":"sample string 6","VoteSort":7,"VoteResult":1,"VoteEventItemId":8},{"VoteId":1,"VoteGuid":"sample string 2","VoteLastModifiedUtc":"2024-12-21T11:24:40.8623314-05:00","VoteRowVersion":"QEA=","VotePersonId":4,"VotePersonName":"sample string 5","VoteValueId":1,"VoteValueName":"sample string 6","VoteSort":7,"VoteResult":1,"VoteEventItemId":8}]);