Loading
保險
InsClaimService:getClaimRecoveries

InsClaimService:getClaimRecoveries

使用此服務取得索賠的索賠復原清單。

類別:InsClaimService

方法:getClaimRecoveries

適用於:Salesforce FSC ClaimRecovery 物件

運作方式

服務:

  1. 以 claimId 為輸入。

  2. 傳回已處理記錄計數 (totalProcessedClaimRecoveries)、傳回記錄計數 (totalClaimRecoveries)、錯誤,以及具有索賠復原欄位和值的節點。

遠端選項

選項

描述

inputKey

必要。

要作為輸入 JSON 傳遞的節點名稱,例如 recoveryOptions。

claimNumber

必要。

與索賠理賠相關聯的索賠。

輸入 JSON

以下是輸入 JSON 的範例。在此範例中,服務會取得具有 0Zkxx0000000001CAA 識別碼之索賠的索賠復原清單。

{
 "recoveryOptions": [
   {
     "claimId": "0Zkxx0000000001CAA"
   }
 ]
}

輸出 JSON

輸出會顯示針對特定索賠建立的所有「索賠復原」記錄。輸出會根據每個索賠的「索賠復原」記錄數量,包含單一記錄或多個記錄。

以下是具有一個「索賠復原」記錄之索賠的輸出 JSON 範例。

{
 "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"
}
 
正在載入
Salesforce Help | Article