CreateClaim(CreateClaimInput)

Create a claim record.

65.0

No

public static ConnectApi.CreateClaimOutputRepresentation CreateClaim(ConnectApi.ClaimInputRepresentation CreateClaimInput)

CreateClaimInput

Type: ConnectApi.CreateClaimOutputRepresentation

Use this Apex example to create a new insurance claim by using the Create Claim API. This example shows how to create a ClaimInputRepresentation with claim details, participants, and items, and then invoke the Connect API method ConnectApi.ClaimFamily.CreateClaim() to submit the claim.

Class Definition

This Apex sample shows how to use the Create Claim API from the Connect API namespace to create an insurance claim record. The example includes building nested input structures for claim details, participants, claim items, and related objects.

Usage Example

Use the CreateClaimCallable class to invoke the createClaim action and submit a new claim.