Add Eligible Insurance Clauses Action

Add eligible insurance clauses to a quote or context. You must specify either a quote ID or a context ID, and either an instance key or a quote line item ID along with insurance product clause details.

This action is available in API version 65.0 and later.

URI: /services/data/vXX.X/actions/standard/addEligibleInsuranceClauses

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

InputTypeDescription
contextIdstringRequired if quoteId isn’t specified. Context ID of the insurance quote.
instanceKeystringRequired if quoteLineItemId isn’t specified. Unique key that identifies the product to which a quote line item belongs.
insuranceProductClausesstringRequired. JSON object with the details of the insurance product clauses to add.
optionFlagsApex-definedAn Apex runtime_industries_insurance.AddEligibleInsuranceClausesOptions record that contains the details to add eligible clauses to an insurance product.
quoteIdstringRequired if contextId isn’t specified. ID of the insurance quote to add eligible clauses.
quoteLineItemIdstringRequired if instanceKey isn’t specified. ID of the quote line items for adding eligible clauses.
OutputTypeDescription
errorsListstringErrors that are encountered during the operation.
isSuccessbooleanIndicates whether the operation is successful ( true ) or not ( false ).
quoteLineItemInsProductClauseIdsstringIDs of the quote line item insurance product clauses.

Sample Request

This is a sample request to call this invocable action from Apex code.

Sample Response