You are here:
InsClaimService:getClaimRecoveries
Use this service to get a list of claim recoveries for a claim.
Class:InsClaimService
Method:getClaimRecoveries
Works with: Salesforce FSC ClaimRecovery object
How It Works
The service:
-
Takes a
claimIdas input. -
Returns a count of records processed (
totalProcessedClaimRecoveries), a count of records returned (totalClaimRecoveries), errors, and a node with claim recovery fields and values.
Remote Options
Option |
Description |
|---|---|
|
Required. The name of the node to pass as input JSON, for example |
|
Required. The claim associated with the claim recoveries. |
Input JSON
Here's a sample of input JSON. In this example, the service gets a list of claim recoveries for a claim with an ID of 0Zkxx0000000001CAA.
{
"recoveryOptions": [
{
"claimId": "0Zkxx0000000001CAA"
}
]
}
Output JSON
Output shows all the Claim Recovery records created for a particular claim. Output includes either a single record or multiple records based on the number of Claim Recovery records per claim.
Here's a sample of output JSON for a claim with one Claim Recovery record.
{
"totalProcessedClaimRecoveries": 1,
"totalClaimRecoveries": 1,
"errors": [],
"claimRecoveries": [
{
"additionalFields": {},
"recoveredOnDate": "2022-07-18",
"status": "Accepted Recovery",
"actualRecoveryAmount": "3500.0",
"estimatedRecoveryAmount": "4500.0",
"recoveryFromAccountId": "001xx000003GZwVAAW",
"recoveryType": "Salvage",
"claimCoverageId": "0kPxx0000000001EAA",
"claimId": "0Zkxx0000000001CAA",
"name": "Claim Recovery One",
"id": "0t6xx0000000001AAA"
}
],
"errorCode": "INVOKE-200",
"error": "OK"
}

