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.

RenewPolicy(RenewPolicyInput, policyId)

Use the context ID of an existing policy to renew a policy. Modify the renewal date, and add optional fields and additional information in the input JSON.

API Version

63.0

Requires Chatter

No

Signature

public static ConnectApi.PolicyOutputRepresentation RenewPolicy(ConnectApi.RenewPolicyInputRepresentation RenewPolicyInput, String policyId)

1ConnectApi.InsurancePolicyAdminFamily, RenewPolicy, [ConnectApi.RenewPolicyInputRepresentation, String], ConnectApi.PolicyOutputRepresentation

Parameters

RenewPolicyInput
Type: ConnectApi.RenewPolicyInputRepresentation
Input representation of the request to renew a policy.
policyId
Type: String
ID of the insurance policy that's to be renewed.