bulkRenewInsurancePolicy(insurancePolicyBulkInput)
API Version
64.0
Requires Chatter
No
Signature
public static ConnectApi.InsurancePolicyBulkOutputRepresentation bulkRenewInsurancePolicy(ConnectApi.InsurancePolicyBulkRenewInputRepresentation insurancePolicyBulkInput)
ConnectApi.InsuranceBrokerageFamily, bulkRenewInsurancePolicy, [ConnectApi.InsurancePolicyBulkRenewInputRepresentation], ConnectApi.InsurancePolicyBulkOutputRepresentation
Parameters
- insurancePolicyBulkInput
- Type: ConnectApi.InsurancePolicyBulkRenewInputRepresentation
- Input representation of the request to renew insurance policies in bulk.
Return Value
Usage
Insurance Policy Bulk Renewal API takes a JSON input that contains a list of insurance policy IDs that must be renewed along with the fieldValueMap and sameCarrier details. The API submits the request to a queue, creates policies, along with child records by using the context definition selected in setup. The service also overrides the fieldValueMap in the new policy for each policy ID passed in the request. Users receive success and failure notifications on completion.
Keep these considerations in mind when you use this method.
- The RenewedFromPolicyId value of the new policy is set to the current policy ID and IsRenewedPolicy field of the new policy is set to true.
- The name of the new policy is a copy of {ExistingName}.
- If the policy is renewed with the same carrier, the PriorPolicyId field of the new policy is updated with the current policy ID.
- The fieldValueMap expects the keys to be API name and is case-sensitive.