You are here:
InsQuoteService:createEndorsementQuote
Use this service to create an endorsement quote with quote line items for single-root and multi-root policies.
How It Works
The
service takes the policyId and effectiveDate as the input
parameters to create an endorsement quote and quote line items.
To create a single-root quote, the service:
-
Creates only one root quote line item.
-
Transforms the InsurancePolicyCoverages, InsurancePolicyAssets, and InsurancePolicyParticipants records to create quote line items and establishes relationships between them.
Transforms the InsurancePolicySurcharge records to create
.QuotePricingAdjustment__crecords-
Returns a
quoteIdin the output JSON.
To create a multi-root quote, the service:
-
Creates multiple root quote line items corresponding to the number of child policies.
-
Transforms the InsurancePolicyCoverages, InsurancePolicyAssets, and InsurancePolicyParticipants records to create quote line items and establishes relationships between them for each child policy.
-
Transforms the InsurancePolicySurcharge records to create
QuotePricingAdjustment__crecords. -
Returns a
quoteIdin the output JSON.
Inputs
You must pass these inputs.
INPUT |
Description |
|---|---|
|
Required The ID of the latest parent policy version from which the endorsement quote is to be created. |
|
Required The effective date of the quote. |
|
Optional The name of the quote to be created. |
|
Optional A JSON structure that specifies options to execute rules. |

