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:deleteMembers

          InsCensusServiceStd:deleteMembers

          Use this service to delete the group census members.

          Class: ​InsCensusServiceStd​​

          Method: deleteMembers

          How It Works

          The service uses censusMemberIds as the input parameter to retrieve the list of GroupCensusMember records and delete these records from the given census Id. It first deletes all the dependent members and then deletes the primary members.

          Note
          Note

          Primary members with dependents 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