您在此处:
InsPolicyTermsService:进程
此服务检索保单条款,并调用保单条款的相应属性类来处理详细信息。对于自定义类,属性类的默认方法名称是 - process<Attribute>。
Class:InsPolicyTermsService
Method:进程
在 Insurance Summer '21 版本中,相同服务支持处理这些 Salesforce FSC 索赔数据对象的 PowerAttributes:
-
索赔
-
ClaimCoverage
-
ClaimCoverageReserveDetail
-
ClaimCoveragePaymentDetail
-
ClaimCoveragePaymentAdjustment
工作原理
-
根据输入 claimId 和 claimCoverageId,检索保单和保单条款详细信息,例如保单 ID、保单承保范围 ID、被保险人 ID 和涉及 ID。
-
属性类已实例化
-
将策略期限的数据返回到调用服务的函数。
远程选项
选项 |
说明 |
|---|---|
claimItemData |
包含个人 claimCoverage 或 claimItem 详细信息的对象列表。该列表包括: 需要 claimId。 需要 claimCoverageId。 已取消必填。将默认值设置为假。仅为已取消付款场景将其设置为真。对于所有其他情况,将其设置为假。 claimItemId Optional.仅当 applicableAction 是 ClaimLineItemClaimedAmountEntered 用于编辑或删除损失项目时 newReserveAmount 可选。仅在 applicableAction 为 ReserveAdjustmentAttempted 时,才可以在承保范围保留模式下打开索赔范围,或在保留工作表模式下为索赔范围创建或编辑损失项目。 requestedAmount 可选。claimItem 的 AdjustedAmount__c isOpenCoverage 可选。在打开索赔范围时为 True。在索赔项目中使用或更新现有索赔范围时为 False。 isValidation 可选。仅在 applicableAction 为 PaymentAttempted 时。在调用 ClaimInitialPaymentIP 之前为 True。当调用 ClaimPaymentIP 后出现这种情况时为 False。 |
applicableAction |
为 Attribute__c.ApplicableAction__c 字段选择以下其中一个值:
|
输入 JSON
以下是输入 JSON 的格式:
{
"claimItemData" : [
{
"claimId" : <id>,
"claimCoverageId" : <id>,
"claimItemId" : <id>,
"oldReserveAmount" : <decimal>,
"newReserveAmount" : <decimal>,
"requestedAmount" : <decimal>,
"isOpenCoverage" : <boolean> ,
"isValidation" : <boolean>
}
]
}以下是输入 JSON 的示例:
{
"claimItemData" : [
{
"claimId" : 01t000000000000001"",
"claimCoverageId" : "01t000000000000002",
"claimItemId" : "01t000000000000003",
"oldReserveAmount" : 0,
"newReserveAmount" : 1000,
"requestedAmount" : 500,
"isOpenCoverage" : false
}
]
}
输出 JSON
以下是 ClaimLineItemClaimedAmountEntered 适用操作的输出 JSON 的格式:
{
"newEntriesDetails": [
{
"remainingValue": <decimal>,
"postedValue": <decimal>,
"calculatedInitialValue": <decimal>,
"attributeScope": <string>,
"claimItemId": <id>,
"assetTermName": <string>,
"attributeCode": <string>,
"attributeClass": <string>,
"initialAmount": <decimal>,
"initialValue": <decimal>,
"insuredPartyId": <id>,
"insuredItemId": <id>,
"involvedPropertyId": <id>,
"involvedInjuryId": <id>,
"claimCoverageId": <id>,
"claimId": <id>,
"assetTermId": <id>,
"name": <string>
},
{ ... },
{ ... }
]
}以下是 ClaimLineItemClaimedAmountEntered 适用操作的输出 JSON 示例:
// note: same claim, claim coverage, insured party, involved property.
// different policy terms details (asset term id, asset term name), term tracking details (initialValue, calculatedInitialValue, postedValue, remainingValue)
{
"newEntriesDetails": [
{
"remainingValue": 0,
"postedValue": 50,
"calculatedInitialValue": 50,
"attributeScope": "Claim",
"claimItemId": null,
"assetTermName": "Deductible Terms",
"attributeCode": "d6534444-89c9-dbf3-6591-595066dd802e",
"attributeClass": "Deductible",
"initialAmount": null,
"initialValue": 50,
"insuredPartyId": "01t000000000000001",
"insuredItemId": null,
"involvedPropertyId": "01t000000000000002",
"involvedInjuryId": null,
"claimCoverageId": "01t000000000000003",
"claimId": "01t000000000000004",
"assetTermId": "01t000000000000005",
"name": "Deductible (Claim)"
},
{
"remainingValue": 50,
"postedValue": 50,
"calculatedInitialValue": 50,
"attributeScope": "Claim",
"claimItemId": null,
"assetTermName": "Copay Terms",
"attributeCode": "atCopay",
"attributeClass": "Copay",
"initialAmount": null,
"initialValue": 100,
"insuredPartyId": "01t000000000000001",
"insuredItemId": null,
"involvedPropertyId": "01t000000000000002",
"involvedInjuryId": null,
"claimCoverageId": "01t000000000000003",
"claimId": "01t000000000000004",
"assetTermId": "01t000000000000007",
"name": "Copay (Claim)"
}
]
}