GET v1/{Client}/VoteTypes

Gets all Vote Types.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GranicusVoteType
NameDescriptionTypeAdditional information
VoteTypeId

integer

None.

VoteTypeGuid

string

None.

VoteTypeLastModifiedUtc

date

None.

VoteTypeRowVersion

Collection of byte

None.

VoteTypeName

string

Required

VoteTypePluralName

string

Required

VoteTypeUsedFor

integer

None.

VoteTypeResult

integer

None.

VoteTypeSort

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VoteTypeId": 1,
    "VoteTypeGuid": "sample string 2",
    "VoteTypeLastModifiedUtc": "2024-12-21T10:46:00.6185645-05:00",
    "VoteTypeRowVersion": "QEA=",
    "VoteTypeName": "sample string 4",
    "VoteTypePluralName": "sample string 5",
    "VoteTypeUsedFor": 6,
    "VoteTypeResult": 7,
    "VoteTypeSort": 8
  },
  {
    "VoteTypeId": 1,
    "VoteTypeGuid": "sample string 2",
    "VoteTypeLastModifiedUtc": "2024-12-21T10:46:00.6185645-05:00",
    "VoteTypeRowVersion": "QEA=",
    "VoteTypeName": "sample string 4",
    "VoteTypePluralName": "sample string 5",
    "VoteTypeUsedFor": 6,
    "VoteTypeResult": 7,
    "VoteTypeSort": 8
  }
]

application/xml, text/xml

Sample:
<ArrayOfGranicusVoteType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <GranicusVoteType>
    <VoteTypeGuid>sample string 2</VoteTypeGuid>
    <VoteTypeId>1</VoteTypeId>
    <VoteTypeLastModifiedUtc>2024-12-21T10:46:00.6185645-05:00</VoteTypeLastModifiedUtc>
    <VoteTypeName>sample string 4</VoteTypeName>
    <VoteTypePluralName>sample string 5</VoteTypePluralName>
    <VoteTypeResult>7</VoteTypeResult>
    <VoteTypeRowVersion>QEA=</VoteTypeRowVersion>
    <VoteTypeSort>8</VoteTypeSort>
    <VoteTypeUsedFor>6</VoteTypeUsedFor>
  </GranicusVoteType>
  <GranicusVoteType>
    <VoteTypeGuid>sample string 2</VoteTypeGuid>
    <VoteTypeId>1</VoteTypeId>
    <VoteTypeLastModifiedUtc>2024-12-21T10:46:00.6185645-05:00</VoteTypeLastModifiedUtc>
    <VoteTypeName>sample string 4</VoteTypeName>
    <VoteTypePluralName>sample string 5</VoteTypePluralName>
    <VoteTypeResult>7</VoteTypeResult>
    <VoteTypeRowVersion>QEA=</VoteTypeRowVersion>
    <VoteTypeSort>8</VoteTypeSort>
    <VoteTypeUsedFor>6</VoteTypeUsedFor>
  </GranicusVoteType>
</ArrayOfGranicusVoteType>

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

Sample:
([{"VoteTypeId":1,"VoteTypeGuid":"sample string 2","VoteTypeLastModifiedUtc":"2024-12-21T10:46:00.6185645-05:00","VoteTypeRowVersion":"QEA=","VoteTypeName":"sample string 4","VoteTypePluralName":"sample string 5","VoteTypeUsedFor":6,"VoteTypeResult":7,"VoteTypeSort":8},{"VoteTypeId":1,"VoteTypeGuid":"sample string 2","VoteTypeLastModifiedUtc":"2024-12-21T10:46:00.6185645-05:00","VoteTypeRowVersion":"QEA=","VoteTypeName":"sample string 4","VoteTypePluralName":"sample string 5","VoteTypeUsedFor":6,"VoteTypeResult":7,"VoteTypeSort":8}]);