Officials Class


* - Required
* - Multiple rows

Officials.getByOfficeState()


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

Input: officeId*, stateId(default: 'NA')

Output:
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.electionParties
candidateList.candidate*.officeParties
candidateList.candidate*.officeDistrictId
candidatelist.candidate*.officeDistrictName
candidateList.candidate*.officeStateId

Officials.getBylastName()


This method grabs a list of officials according to a lastName match.

Input: lastName*

Output:
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.electionParties
candidateList.candidate*.officeParties
candidateList.candidate*.officeDistrictId
candidatelist.candidate*.officeDistrictName
candidateList.candidate*.officeStateId

Officials.getByLevenstein()


This method grabs a list of officials according to a fuzzy lastName match.

Input: lastName*

Output:
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.electionParties
candidateList.candidate*.officeParties
candidateList.candidate*.officeDistrictId
candidatelist.candidate*.officeDistrictName
candidateList.candidate*.officeStateId

Officials.getByElection()


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

Input: electionId*

Output:
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.electionParties
candidateList.candidate*.electionstatus
candidateList.candidate*.officeParties
candidateList.candidate*.officeDistrictId
candidatelist.candidate*.officeDistrictName
candidateList.candidate*.officeStateId

Officials.getByDistrict()


This method grabs a list of officials according to the district they are running for.

Input: districtId*

Output:
candidateList.candidate*.candidateId
candidateList.candidate*.firstName
candidateList.candidate*.nickName
candidateList.candidate*.middleName
candidateList.candidate*.lastName
candidateList.candidate*.suffix
candidateList.candidate*.title
candidateList.candidate*.electionParties
candidateList.candidate*.electionstatus
candidateList.candidate*.officeParties
candidateList.candidate*.officeDistrictId
candidatelist.candidate*.officeDistrictName
candidateList.candidate*.officeStateId