EndorsePolicy(EndorsePolicyInput, policyId)

Endorse the latest version of the insurance policy based on the context ID and effective date. You can also include other optional fields and additional details in the input JSON.

API Version

63.0

Requires Chatter

No

Signature

public static ConnectApi.PolicyOutputRepresentation EndorsePolicy(ConnectApi.EndorsePolicyInputRepresentation EndorsePolicyInput, String policyId)

ConnectApi.InsurancePolicyAdminFamily, EndorsePolicy, [ConnectApi.EndorsePolicyInputRepresentation, String], ConnectApi.PolicyOutputRepresentation

Parameters

EndorsePolicyInput
Type: ConnectApi.EndorsePolicyInputRepresentation
Input representation of the request to endorse a policy.
policyId
Type: String
ID of the policy to be endorsed.