GET v1/{Client}/VoteTypes/{VoteTypeId}

Gets one Vote Type.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

VoteTypeId

The Id of the Vote Type.

integer

Required

Body Parameters

None.

Response Information

Resource Description

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-04-19T23:22:45.2564322-04:00",
  "VoteTypeRowVersion": "QEA=",
  "VoteTypeName": "sample string 4",
  "VoteTypePluralName": "sample string 5",
  "VoteTypeUsedFor": 6,
  "VoteTypeResult": 7,
  "VoteTypeSort": 8
}

application/xml, text/xml

Sample:
<GranicusVoteType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <VoteTypeGuid>sample string 2</VoteTypeGuid>
  <VoteTypeId>1</VoteTypeId>
  <VoteTypeLastModifiedUtc>2024-04-19T23:22:45.2564322-04: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>

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

Sample:
({"VoteTypeId":1,"VoteTypeGuid":"sample string 2","VoteTypeLastModifiedUtc":"2024-04-19T23:22:45.2564322-04:00","VoteTypeRowVersion":"QEA=","VoteTypeName":"sample string 4","VoteTypePluralName":"sample string 5","VoteTypeUsedFor":6,"VoteTypeResult":7,"VoteTypeSort":8});