Loading
Salesforce now sends email only from verified domains. Read More
Insurance
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          InsClaimRecoveryService:save

          InsClaimRecoveryService:save

          Use this service to accept an input of a list of information, which is transformed to create and update records for the InsuranceClaimRecovery__c, an object that represents the recovery of funds for a claim.

          Class: InsClaimRecoveryService

          Method: save

          Works with: Vlocity object model

          How It Works

          1. Takes the input JSON for a list of fields and values and saves this information in a Claim Recovery record.

            The option JSON must contain inputKey, which is the name of the input JSON that contains the claim recovery information.

          2. Passes the inputs.

          3. Passes these inputs and options JSON to the service and gets the service's output.

          4. If no input jSON or no inputKey element in the output JSON, the service ends unsuccessfully.

          Remote Options

          Option

          Description

          inputKey

          The node/element name of the input JSON that you're going to pass

          allOrNone

          Boolean value that determines if saving will proceed even if there are records in the list that has errors.

          Input JSON

          { 
             "claimRecovery": [
              {
                "status": "Pending",
                "type": "Salvage",
                "collectionsAssignmentDate": "2020-04-02",
                "assignmentDate": "2020-04-01",
                "amount": 300,
                "claimIdOrNumber": "a4X3j0000001iTcEAI",
                "Name": "Recovery1"
              },
              {
                "status": "Pending",
                "type": "Salvage",
                "collectionsAssignmentDate": "2020-04-16",
                "assignmentDate": "2020-04-01",
                "amount": 1000,
                "claimIdOrNumber": "a4X3j0000001iTcEAI",
                "Name": "Recovery2"
              }
            ]
          }

          Output JSON

          {  
            "numberOfFailedSave": 0,
            "failedSavingErrors": [],
            "processedClaimRecoveries": [
              "a4V3j000000y83GEAQ",
              "a4V3j000000y83HEAQ"
            ],
            "error": "OK"
          }
           
          Loading
          Salesforce Help | Article