postInsuranceCreateQuoteFromContract(createQuoteFromContractInputParam, contractId)
Create a quote from an existing insurance contract, including the quote structure and line items.
67.0
No
public static ConnectApi.InsuranceCreateQuoteFromContractOutputRepresentation postInsuranceCreateQuoteFromContract(ConnectApi.InsuranceCreateQuoteFromContractInputRepresentation createQuoteFromContractInputParam, String contractId)
createQuoteFromContractInputParam
- Type:
ConnectApi.InsuranceCreateQuoteFromContractInputRepresentation - Input details used to create the quote from the contract, including effective dates, transaction type, census information, and optional configuration options.
contractId
- Type: String
- ID of the insurance contract used to create the quote.
Type: ConnectApi.InsuranceCreateQuoteFromContractOutputRepresentation
Use this method to create a quote from an existing insurance contract, including the quote structure and line items. Specify the contract in contractId. All properties on the input representation are optional.
Set quoteName, transactionType (such as GB Endorsement or GB Renewal), and insuranceQuoteType (such as Endorsement or Renewal) on the quote. Use eventEffectiveFromDate and eventEffectiveToDate in yyyy-MM-dd format. Associate a census with groupCensusId.
To apply field overrides to Quote or QuoteLineItem, add items to additionalFields. Each item identifies the entity, optional productPath, and fields as key-value pairs. Set configOptions to control whether configuration and qualification rules run.
Check isSuccess and quoteId on the response. Errors are in the errors property.
This example creates a quote from an existing contract. It sets quote name, transaction type, effective dates, and census, and it applies an optional line-item field override.