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

          InsQuoteService:addInsuredItem

          Use this service to add insured items to quotes.

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

          How It Works

          The service adds the insured item, identified by the product Id, to a quote.

          Remote Options

          Option

          Description

          rootLineId

          Required

          Id of the root level QuoteLineItem, which is the parent of the insured item to add

          productId

          Required

          Product Id of the insured item

          parentLineId

          Optional

          If this is a grandchild insured item, this is the Id of the child QuoteLineItem

          instanceKey

          Optional

          Unique name for the insured item

          attributeValues

          Optional

          Attribute values for the insured item in a map where the key is attribute name and the value is the new attribute value

          isPrimary

          Optional

          true or false

          Defaults to false

          If true, specifies that this is the primary grandchild insured item.

          If false, specifies this is not the primary grandchild insured item.

          Input JSON

          This is an example of input JSON:

          {
                  "rootLineId": "0QL2E0000063VzJWAU",
                  "productId": "01t2E00000MyUkbQAF",
                  "attributeValues": {
                    "autoYear": 2020,
                    "autoMake": "Porsche",
                    "autoModel": "911"
                  }
          

          Output JSON

          This service doesn't have output JSON.

           
          Loading
          Salesforce Help | Article