Candidates Class


* - Required
* - Multiple rows

Candidates.getByOfficeState()


This method grabs a list of candidates according to office and state representation.

Input: officeId*, stateId(default: 'NA'), electionYear(default: >= current year), stageId

Output:
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.preferredName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.ballotName
candidateList.candidate*.electionParties
candidateList.candidate*.electionStatus
candidateList.candidate*.electionStage
candidateList.candidate*.electionDistrictId
candidateList.candidate*.electionDistrictName
candidateList.candidate*.electionOffice
candidateList.candidate*.electionOfficeId
candidateList.candidate*.electionStateId
candidateList.candidate*.electionOfficeTypeId
candidateList.candidate*.electionYear
candidateList.candidate*.electionSpecial
candidateList.candidate*.electionDate
candidateList.candidate*.officeParties
candidateList.candidate*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeStateId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeTypeId
candidateList.candidate*.runningMateId
candidateList.candidate*.runningMateName

Candidates.getByOfficeTypeState()


This method grabs a list of candidates according to office type and state representation.

Input: officeTypeId*, stateId(default: 'NA'), electionYear(default: >= current year), stageId

Output:
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.preferredName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.ballotName
candidateList.candidate*.electionParties
candidateList.candidate*.electionStatus
candidateList.candidate*.electionStage
candidateList.candidate*.electionDistrictId
candidateList.candidate*.electionDistrictName
candidateList.candidate*.electionOffice
candidateList.candidate*.electionOfficeId
candidateList.candidate*.electionStateId
candidateList.candidate*.electionOfficeTypeId
candidateList.candidate*.electionYear
candidateList.candidate*.electionSpecial
candidateList.candidate*.electionDate
candidateList.candidate*.officeParties
candidateList.candidate*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeStateId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeTypeId
candidateList.candidate*.runningMateId
candidateList.candidate*.runningMateName

Candidates.getByLastname()


This method grabs a list of candidates according to a lastname match.

Input: lastName*, electionYear(default: >= current year), stageId

Output:
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.preferredName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.ballotName
candidateList.candidate*.electionParties
candidateList.candidate*.electionStatus
candidateList.candidate*.electionStage
candidateList.candidate*.electionDistrictId
candidateList.candidate*.electionDistrictName
candidateList.candidate*.electionOffice
candidateList.candidate*.electionOfficeId
candidateList.candidate*.electionStateId
candidateList.candidate*.electionOfficeTypeId
candidateList.candidate*.electionYear
candidateList.candidate*.electionSpecial
candidateList.candidate*.electionDate
candidateList.candidate*.officeParties
candidateList.candidate*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeStateId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeTypeId
candidateList.candidate*.runningMateId
candidateList.candidate*.runningMateName

Candidates.getByLevenshtein()


This method grabs a list of candidates according to a fuzzy lastname match.

Input: lastName*, electionYear(default: >= current year), stageId

Output:
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.preferredName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.ballotName
candidateList.candidate*.electionParties
candidateList.candidate*.electionStatus
candidateList.candidate*.electionStage
candidateList.candidate*.electionDistrictId
candidateList.candidate*.electionDistrictName
candidateList.candidate*.electionOffice
candidateList.candidate*.electionOfficeId
candidateList.candidate*.electionStateId
candidateList.candidate*.electionOfficeTypeId
candidateList.candidate*.electionYear
candidateList.candidate*.electionSpecial
candidateList.candidate*.electionDate
candidateList.candidate*.officeParties
candidateList.candidate*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeStateId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeTypeId
candidateList.candidate*.runningMateId
candidateList.candidate*.runningMateName

Candidates.getByElection()


This method grabs a list of candidates according to the election they are running in.

Input: electionId*, stageId

Output:
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.preferredName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.ballotName
candidateList.candidate*.electionParties
candidateList.candidate*.electionStatus
candidateList.candidate*.electionStage
candidateList.candidate*.electionDistrictId
candidateList.candidate*.electionDistrictName
candidateList.candidate*.electionOffice
candidateList.candidate*.electionOfficeId
candidateList.candidate*.electionStateId
candidateList.candidate*.electionOfficeTypeId
candidateList.candidate*.electionYear
candidateList.candidate*.electionSpecial
candidateList.candidate*.electionDate
candidateList.candidate*.officeParties
candidateList.candidate*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeStateId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeTypeId
candidateList.candidate*.runningMateId
candidateList.candidate*.runningMateName

Candidates.getByDistrict()


This method grabs a list of candidates according to the district they represent.

Input: districtId*, electionYear(default: >= current year), stageId

Output:
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.preferredName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.ballotName
candidateList.candidate*.electionParties
candidateList.candidate*.electionStatus
candidateList.candidate*.electionStage
candidateList.candidate*.electionDistrictId
candidateList.candidate*.electionDistrictName
candidateList.candidate*.electionOffice
candidateList.candidate*.electionOfficeId
candidateList.candidate*.electionStateId
candidateList.candidate*.electionOfficeTypeId
candidateList.candidate*.electionYear
candidateList.candidate*.electionSpecial
candidateList.candidate*.electionDate
candidateList.candidate*.officeParties
candidateList.candidate*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeStateId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeTypeId
candidateList.candidate*.runningMateId
candidateList.candidate*.runningMateName

Candidates.getByZip()


This method grabs a list of candidates according to the zip code they represent.

Input: zip5*, electionYear(default: >= current year), zip4(default: NULL), stageId

Output:
candidateList.zipMessage
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.preferredName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.ballotName
candidateList.candidate*.electionParties
candidateList.candidate*.electionStatus
candidateList.candidate*.electionStage
candidateList.candidate*.electionDistrictId
candidateList.candidate*.electionDistrictName
candidateList.candidate*.electionOffice
candidateList.candidate*.electionOfficeId
candidateList.candidate*.electionStateId
candidateList.candidate*.electionOfficeTypeId
candidateList.candidate*.electionYear
candidateList.candidate*.electionSpecial
candidateList.candidate*.electionDate
candidateList.candidate*.officeParties
candidateList.candidate*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeStateId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeTypeId
candidateList.candidate*.runningMateId
candidateList.candidate*.runningMateName