endorseInsurancePolicy(policyId)
Endorse a specific insurance policy by providing the policy ID.
67.0
No
public static ConnectApi.InsurancePolicyIssueOutputRepresentation endorseInsurancePolicy(String policyId)
policyId
- Type: String
- ID of the insurance policy to endorse.
Type: ConnectApi.InsurancePolicyIssueOutputRepresentation
Use this method to endorse a specific insurance policy. The endorsement applies pending changes to the policy and generates a transaction. The response includes the transaction ID and any errors that occurred during the endorsement process.
The Apex example shows how to use the ConnectApi.InsuranceBrokerageFamily.endorseInsurancePolicy() method to endorse a specific insurance policy.
Class Definition
This Apex example shows how to endorse an insurance policy.
Usage Example
Use the EndorseTestConnectAPI class to execute the endorse action and process the result.