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.
| 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. |
quoteId | string | Required if contextId isn’t specified. ID of the insurance quote to get eligible clauses. |
quoteLineItemId | string | Required if instanceKey isn’t specified. ID of the quote line items to get eligible clauses. |
| Output | Type | Description |
|---|---|---|
eligibleClauses | string | Details of insurance product clauses. |
errorsList | string | Errors that are encountered during the operation. |
isSuccess | boolean | Indicates 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