Loading
Salesforce now sends email only from verified domains. Read More
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
          InsCensusServiceStd:deleteMembersWithPlans

          InsCensusServiceStd:deleteMembersWithPlans

          Use this service to delete the group census members and the associated plans.

          Class: ​InsCensusServiceStd​​

          Method: deleteMembersWithPlans

          How It Works

          The service does the following:

          1. The service uses censusMemberIds as the input parameter to retrieve the list of GroupCensusMember records.

          2. Retrieves associated plans from the GroupCensusMemberPlan.

          3. The service first deletes the plans associated with the members. Then it deletes the dependent members, followed by the deletion of primary members.

            Note
            Note Primary members with dependents and plans are not deleted.

          Remote Options

          Option

          Description

          censusMemberIds

          Required.

          List of GroupCensusMember record Ids which must be deleted.

          Input JSON

          Here's the sample input JSON:

          IDs of GroupCensusMember records

          {      
              "censusMemberIds": [
                  "0r6RO0000000430YAA",
                  "0r6RO000000042vYAA"
              ]
          }

          Ids of Contact records

          {    
              "accountIds": [
                  "003RO000002yi8iYAA",
                  "003RO000002yi8dYAA"
              ]
          }

          Output JSON

          The service doesn't returns an output JSON. It deletes the group census member records as per the specified input.

           
          Loading
          Salesforce Help | Article