Loading
Insurance
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          InsCensusService:sendMassEmail

          InsCensusService:sendMassEmail

          Use this service to send emails to all members of a census. For example, you can use this service to send an invitation to enroll in a health insurance plan to all members of a customer's census.

          Class: InsCensusService

          Method: sendMassEmail

          How It Works

          If both remote options are not null, the service queries the contactId for primary census members and sends an email to them using the email template. Note that the contact needs to be created beforehand and linked to the primary census member.

          1. Takes a censusId as a parameter and uses it to get contactIds for all census members.

          2. Finds the specified email template to construct the emails to be sent.

          3. Emails all members of the census using their contactIds.

          Remote Options

          Option

          Description

          censusId

          The Id of the census to be emailed.

          emailTemplateName

          The name of an email template (previously loaded into Vlocity) that the service will use to construct the emails it sends.

          Input JSON

          This service does not use an input JSON.

          Output JSON

          The service doesn't return data in an output JSON.

           
          Loading
          Salesforce Help | Article