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.
| Input | Type | Description |
|---|---|---|
contextId | string | Required if quoteId isn’t specified. Context ID of the insurance quote. |
instanceKey | string | Required if quoteLineItemId isn’t specified. Unique key that identifies the product to which a quote line item belongs. |
insuranceProductClauses | string | Required. JSON object with the details of the insurance product clauses to add. |
optionFlags | Apex-defined | An Apex runtime_industries_insurance.AddEligibleInsuranceClausesOptions record that contains the details to add eligible clauses to an insurance product. |
quoteId | string | Required if contextId isn’t specified. ID of the insurance quote to add eligible clauses. |
quoteLineItemId | string | Required if instanceKey isn’t specified. ID of the quote line items for adding eligible clauses. |
| Output | Type | Description |
|---|---|---|
errorsList | string | Errors that are encountered during the operation. |
isSuccess | boolean | Indicates whether the operation is successful ( true ) or not ( false ). |
quoteLineItemInsProductClauseIds | string | IDs 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