Officials Class


* - Required
* - Multiple rows

Officials.getStatewide()


This method grabs a list of officials according to state representation

Input: 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*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeTypeId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeStateId

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*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeTypeId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeStateId

Officials.getByOfficeTypeState()


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

Input: officeTypeId*, 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*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeTypeId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
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*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeTypeId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeStateId

Officials.getByLevenshtein()


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*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeTypeId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
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*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeTypeId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeStateId

Officials.getByZip()


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

Input: zip5*, zip4(default: NULL)

Output:
candidateList.zipMessage
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*.officeStatus
candidateList.candidate*.officeDistrictId
candidateList.candidate*.officeDistrictName
candidateList.candidate*.officeTypeId
candidateList.candidate*.officeId
candidateList.candidate*.officeName
candidateList.candidate*.officeStateId