Get Eligible Insurance Clauses Action

Get eligible insurance clauses based on quote ID and context ID. You must specify either a quote ID or a context ID, and either an instance key or a quote line item ID to get the eligible insurance clauses.

This action is available in API version 65.0 and later.

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

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.
quoteIdstringRequired if contextId isn’t specified. ID of the insurance quote to get eligible clauses.
quoteLineItemIdstringRequired if instanceKey isn’t specified. ID of the quote line items to get eligible clauses.
OutputTypeDescription
eligibleClausesstringDetails of insurance product clauses.
errorsListstringErrors that are encountered during the operation.
isSuccessbooleanIndicates whether the operation is successful ( true ) or not ( false ).

Sample Request

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

Sample Response