Generate Insurance Clauses Action
Generate insurance clauses based on the specified quote and context information. You must specify either quote ID or context ID to generate insurance clauses.
This action is available in API version 65.0 and later.
URI: /services/data/vXX.X/actions/standard/generateInsuranceClauses
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. |
instanceKeys | string | Required if quoteLineItemId isn’t specified. Unique keys that identify the products to which quote line items belong. |
optionFlags | Apex-defined | An Apex runtime_industries_insurance.GenerateInsuranceClausesOptions record that contains the configuration and execution options to generate the insurance clauses. |
quoteId | string | Required if contextId isn’t specified. ID of the insurance quote for adding eligible clauses. |
quoteLineItemIds | string | Required if quoteLineItemId isn’t specified. IDs of the quote line item for the quote. |
| Output | Type | Description |
|---|---|---|
asyncBulkRequestId | string | ID of the asynchronous bulk request. |
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