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)

Parameters 

EndorsePolicyInput

policyId

  • Type: String
  • ID of the policy to be endorsed.

Return Value 

Type: ConnectApi.PolicyOutputRepresentation