Advocacy API Legislator Lookup

Options
How does the advocacy API handle when legislators require additional information such as phone number? Does the API automatically display an error and the required field? Is there documentation for this process somewhere? 

 


 
Tagged:

Comments

  • Hi Elizabeth,



    This probably might not be the answer you are looking for -- but just in case for legislator look up, there is a Convio S-tag that you could use to embed the search widget onto your page.



    It's S56 and with that, you are searching by your zip code 

     

    [[S56:V1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:5:1:5:1:1:1:1:1:1:1]]

    • version - V1
    • include_president - 0 or 1
    • include_vice_president - 0 or 1
    • include_first_lady - 0 or 1
    • include_US_senators - 0 or 1
    • include_US_reps - 0 or 1
    • include_governors - 0 or 1
    • include_state_senators - 0 or 1
    • include_state_reps - 0 or 1
    • include_postal_address - 0 or 1
    • include_phone_number - 0 or 1
    • include_fax_number - 0 or 1
    • include_email_address - 0 or 1
    • include_web_site - 0 or 1
    • include_whitehouse_link - 0 or 1
    • include_senate_link - 0 or 1
    • include_house_link - 0 or 1
    • include_national_links - 0 or 1
    • num_national_links - Number of links to include under National Issues on the results page
    • include_state_links - 0 or 1
    • num_state_links - Number of links to include under State Issues on the results page
    • include_county_officials - 0 or 1
    • include_municipal_officials - 0 or 1
    • include_facebook_link - 0 or 1
    • include_twitter_link - 0 or 1
    • include_youtube_link - 0 or 1
    • include_blog_officials - 0 or 1
    • include_committee_assignments - 0 or 1 

    Further details available at following --  

    https://www.blackbaud.com/files/support/helpfiles/luminate-online/help/luminateonline.html#../Subsystems/S-Tags/Content/S-Tags/S56_Find_Representatives_Component.html



    And here's how we are using it for one of our site --

    https://donations.diabetes.org/site/SPageServer/?pagename=SD_Advocacy_Center_Responsive



    If this is not what you are looking for, let us know which API you might probably be referring to.



    regards,

    Daniel

     
  • Thanks Daniel!

Categories