Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

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)

1ConnectApi.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.