bulkEndorseDraftInsurancePolicy(insurancePolicyBulkFieldMapInput)

Endorse draft policies in bulk for the specified insurance policy IDs.

67.0

No

public static ConnectApi.InsurancePolicyBulkOutputRepresentation bulkEndorseDraftInsurancePolicy(ConnectApi.InsurancePolicyBulkFieldMapInputRepresentation insurancePolicyBulkFieldMapInput)

insurancePolicyBulkFieldMapInput

Type: ConnectApi.InsurancePolicyBulkOutputRepresentation

Use this method to create endorsement drafts for insurance policies in bulk. The JSON input includes a field value map of insurance policy fields and a list of insurance policy IDs. After the request is successfully sent to the message queue, endorsement drafts are created asynchronously, and you receive either a success or failure notification after the completion of the request.

The Apex example shows how to use the ConnectApi.InsuranceBrokerageFamily.bulkEndorseDraftInsurancePolicy() method to create endorsement drafts for multiple insurance policies in bulk.

Class Definition

This Apex example shows how to create endorsement drafts for multiple policies in bulk.

Usage Example

Use the BulkDraftEndorseTestConnectAPI class to execute the bulkDraftEndorse action and process the result.