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
          InsQuoteService:removeCoverage

          InsQuoteService:removeCoverage

          Use this service in an OmniScript to remove a specified coverage, as per the product code, from the quote. You can use this service on multiple plans.

          Note
          Note

          This service isn't supported for guest users.

          If a guest user tries to run an OmniScript or Integration Procedure or UI function that uses this service, the service will not run and the guest user will see an error message.

          Class: InsQuoteService

          Method: removeCoverage

          How It Works

          1. The service takes the quoteId and product code of a product.

          2. Removes all the quote line items for coverages that match the coverages defined by the product codes.

          Remote Options

          Option

          Description

          quoteId

          Id of target quote

          coverageProductCodes

          Product Code of target coverage.

          Takes in a stringified list of product codes, such as Code1,Code2,Code3, and removes all of coverages specified by the product codes.

          planIds

          Optional.

          Ids of target plans, used to target specific plans on the target quote.

          Input JSON

          This service does not take an input JSON.

          Output JSON

          The output JSON returns a numCoveragesRemoved node, which indicates how many coverages were removed:

          	{'numCoveragesRemoved': 4}
           
          Loading
          Salesforce Help | Article