Loading
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Insurance
InsClaimRecoveryService:getRecoveries

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

  1. The user provides claimId, claimNumber, or both as inputs.

  2. The service uses the inputs to get a list of claim recoveries associated with that claim.

  3. 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.

Input JSON

{ 
   "Options": {
      "claimId": "a4X3j0000001iTcEAI"
    }
}

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"
}
 
Loading
Salesforce Help | Article