You are here:
InsClaimRecoveryService:getRecoveries
Use this service to get a list of claim recoveries (InsuranceClaimRecovery__c) based on a specified claim Id or claim number.
Class: InsClaimRecoveryService
Method: getRecoveries
Works with: Vlocity object model
How It Works
-
The user provides claimId, claimNumber, or both as inputs.
-
The service uses the inputs to get a list of claim recoveries associated with that claim.
-
The service returns a list of claim recoveries.
Remote Options
Option |
Description |
|---|---|
claimId |
Claim Id of claim recoveries to obtain. |
claimNumber |
Claim number (InsuranceClaim__c.Name) of claim recoveries to obtain. |
Output JSON
{
"claimRecoveries": [
{
"Name": "Recovery 1",
"Amount__c": 500,
"AssignmentDate__c": "2020-04-01",
"ClaimId__c": "a4X3j0000001iTcEAI",
"CollectionsAssignmentDate__c": "2020-04-01",
"Status__c": "Pending",
"StatusAsOfDate__c": "2020-04-24",
"Type__c": "Salvage",
"Id": "a4V3j000000y83BEAQ"
},
{
"Name": "Recovery2",
"Amount__c": 300,
"AssignmentDate__c": "2020-04-01",
"ClaimId__c": "a4X3j0000001iTcEAI",
"CollectionsAssignmentDate__c": "2020-04-01",
"Status__c": "Pending",
"StatusAsOfDate__c": "2020-04-24",
"Type__c": "Salvage",
"Id": "a4V3j000000y83GEAQ"
},
{
"Name": "Recovery3",
"Amount__c": 1000,
"AssignmentDate__c": "2020-04-01",
"ClaimId__c": "a4X3j0000001iTcEAI",
"CollectionsAssignmentDate__c": "2020-04-01",
"Status__c": "Pending",
"StatusAsOfDate__c": "2020-04-24",
"Type__c": "Salvage",
"Id": "a4V3j000000y83HEAQ"
}
],
"errorCode": "INVOKE-200",
"error": "OK"
}
