Surveys

class dotmailer.surveys.Survey(**kwargs)
classmethod get_all(assigned_to_address_book_only=True)

Gets a list of all surveys in the account

Parameters:assigned_to_address_book_only – A boolean value to indicated if we should only retrieve surveys that have been assigned to an address book. The default value for this is True
Returns:
classmethod get_by_id(id)

Get a survey by it’s ID value

Parameters:id – The DotMailer unique ID value for the survey
Returns:
classmethod get_survey_fields(id)

Gets a list of survey pages, each containing a list of the fields on that page

Parameters:id
Returns: