Address Class


* - Required
* - Multiple rows

Address.getCampaign


This method grabs campaign office(s) and basic candidate information for the specified candidate.

Input: candidateId*

Output:
address.candidate.title
address.candidate.firstName
address.candidate.middleName
address.candidate.nickName
address.candidate.lastName
address.candidate.suffix
address.office*.address.type
address.office*.address.typeId
address.office*.address.street
address.office*.address.city
address.office*.address.state
address.office*.address.zip
address.office*.phone.phone1
address.office*.phone.phone2
address.office*.phone.fax1
address.office*.phone.fax2
address.office*.phone.tollFree
address.office*.phone.ttyd
address.office*.notes.contactName
address.office*.notes.contactTitle
address.office*.notes.note

Address.getCampaignWebAddress


This method grabs the campaign office's Web address(es) and basic candidate information for the specified candidate.

Input: candidateId*

Output:
address.candidate.title
webaddress.candidate.firstName
webaddress.candidate.middleName
webaddress.candidate.nickName
webaddress.candidate.lastName
webaddress.candidate.suffix
webaddress.address*.webAddressTypeId
webaddress.address*.webAddressType
webaddress.address*.webAddress

Address.getCampaignByElection


This method grabs campaign office(s) and basic candidate information for the specified election.

Input: electionId*

Output:
address.candidate.title
address.candidate.firstName
address.candidate.middleName
address.candidate.nickName
address.candidate.lastName
address.candidate.suffix
address.office*.address.type
address.office*.address.typeId
address.office*.address.street
address.office*.address.city
address.office*.address.state
address.office*.address.zip
address.office*.phone.phone1
address.office*.phone.phone2
address.office*.phone.fax1
address.office*.phone.fax2
address.office*.phone.tollFree
address.office*.phone.ttyd
address.office*.notes.contactName
address.office*.notes.contactTitle
address.office*.notes.note

Address.getOffice


This method grabs office(s) and basic candidate information for the specified candidate.

Input: candidateId*

Output:
address.candidate.title
address.candidate.firstName
address.candidate.middleName
address.candidate.nickName
address.candidate.lastName
address.candidate.suffix
address.office*.address.type
address.office*.address.typeId
address.office*.address.street
address.office*.address.city
address.office*.address.state
address.office*.address.zip
address.office*.phone.phone1
address.office*.phone.phone2
address.office*.phone.fax1
address.office*.phone.fax2
address.office*.phone.tollFree
address.office*.phone.ttyd
address.office*.notes.contactName
address.office*.notes.contactTitle
address.office*.notes.note

Address.getOfficeWebAddress


This method grabs office's Web address(es) and basic candidate information for the specified candidate.

Input: candidateId*

Output:
address.candidate.title
webaddress.candidate.firstName
webaddress.candidate.middleName
webaddress.candidate.nickName
webaddress.candidate.lastName
webaddress.candidate.suffix
webaddress.address*.webAddressTypeId
webaddress.address*.webAddressType
webaddress.address*.webAddress

Address.getOfficeByOfficeState


This method grabs office address and basic candidate information according to the officeId and state.

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

Output:
address.office*.candidate.title
address.office*.candidate.firstName
address.office*.candidate.middleName
address.office*.candidate.nickName
address.office*.candidate.lastName
address.office*.candidate.suffix
address.office*.address.type
address.office*.address.typeId
address.office*.address.street
address.office*.address.city
address.office*.address.state
address.office*.address.zip
address.office*.phone.phone1
address.office*.phone.phone2
address.office*.phone.fax1
address.office*.phone.fax2
address.office*.phone.tollFree
address.office*.phone.ttyd
address.office*.notes.contactName
address.office*.notes.contactTitle
address.office*.notes.note