您位於此處:
InsPolicyTermsService:getCurrentStanding
使用此服務可取得代表與保單或索賠相關聯保單條款目前狀態的金額清單。
此服務會填入「保單」與「索賠」頁面的「保單條款目前狀態」。若要在保險索賠記錄頁面上設定保單條款狀態,請使用 Vlocity 保單條款固定 LWC。若要設定保單條款狀態,以根據保單記錄頁面上的 insuredId 來篩選涵蓋範圍詳細資料,請使用「保單條款處於現狀 - 保單檢視」元件。
運作方式
-
服務會取得物件識別碼,其可以是下列任一值:policy Id、claim Id、policyCoverageId、policyParticipantId 或 policyAssetId。
-
服務會採用選用的
viewOption節點。-
如果 objectId 是 policyId,則服務會採用下列兩個選項:
-
showAllPolicyCoverage -
showPolicyLevelTermsOnly
-
-
如果 objectId 是 claimId,則服務會採用下列兩個選項:
-
showAllPolicyCoverages -
showOpenClaimPolicyCoverages
-
-
-
傳回與 objectId 相關聯的原則字詞清單。針對此節點建立的名稱取決於指定原則字詞的屬性類別和屬性範圍。
遠端選項
選項 |
描述 |
|---|---|
|
必要。 用來取用原則條款目前狀態的識別碼。 可能的值
|
|
選擇性。 情況 1:當 objectId 為
|
情況 2:當 objectId 為
|
輸出 JSON
以下是範例輸出 JSON 的格式:
{
"currentStanding": [
{
<String:Policy Term Name>: {
"predictedRemainingValue": <Decimal>,
"pendingValue": <Decimal>,
"usedValue": <Decimal>,
"remainingValue": <Decimal>,
"initialValue": <Decimal>,
"dataType": <Text>,
"insurancePolicyCoverageName": <Text>,
"insuredItemId": <Id>,
"insuredPartyId": <Id>,
"assetCoverageId": <Id>,
"assetId": <Id>,
"attributeScope": <Text>,
"attributeClass": <Text>,
"assetTermName": <Text>,
"assetTermId": <Id>,
"claimId": <Id>,
"claimCoverageIds": [<List of Ids>]
}
}
]
}原則字詞名稱的建構方式取決於次方屬性的設定方式。以下是建立不同原則字詞名稱的不同組態範例。
保單條款名稱:一般內容原則限制
屬性類別:限制 - 貨幣
屬性範圍:保單輸出
名稱:一般內容原則限制
{
"currentStanding": [
{
"General Contents Policy Limit": {
"predictedRemainingValue": 500,
"pendingValue": 0,
"usedValue": 0,
"remainingValue": 500,
"initialValue": 500,
"dataType": "currency",
"insurancePolicyCoverageName": "Lab",
"insuredPartyId": null,
"insuredItemId": null,
"assetCoverageId": "a3u3j00000HyNvYAAV",
"assetId": "02i3j00000KhumpAAB",
"attributeScope": "Policy",
"attributeClass": "Limit",
"assetTermName": "General Contents Policy Limit",
"assetTermId": "a5N3j000000XnVtEAK"
}
}
]
}保單條款名稱:一般內容原則涵蓋範圍限制
屬性類別:限制 - 貨幣
屬性範圍:保單涵蓋範圍輸出
名稱:一般內容保單涵蓋範圍限制 - 範例已投保
{
"currentStanding": [
{
"General Contents Policy Coverage Limit - Sample Insured": {
"predictedRemainingValue": 500,
"pendingValue": 0,
"usedValue": 0,
"remainingValue": 500,
"initialValue": 500,
"dataType": "currency",
"insurancePolicyCoverageName": "Outpatient",
"insuredPartyId": "0ao8c000000PnSqAAK",
"insuredItemId": null,
"assetCoverageId": "a3u3j00000HyNvYAAV",
"assetId": "02i3j00000KhumpAAB",
"attributeScope": "Policy Coverage",
"attributeClass": "Limit",
"assetTermName": "General Contents Policy Coverage Limit",
"assetTermId": "a5N3j000000XnVtEAK"
}
}
]
}保單條款名稱:一般內容索賠限制
屬性類別:限制 - 貨幣
屬性範圍:索賠輸出名稱:一般內容索賠限制
{
"currentStanding": [
{
"General Contents Claim Limit": {
"predictedRemainingValue": 500,
"pendingValue": 0,
"usedValue": 0,
"remainingValue": 500,
"initialValue": 500,
"dataType": "currency",
"insurancePolicyCoverageName": "Lab",
"insuredPartyId": null,
"insuredItemId": null,
"assetCoverageId": "a3u3j00000HyNvYAAV",
"assetId": "02i3j00000KhumpAAB",
"attributeScope": "Claim",
"attributeClass": "Limit",
"assetTermName": "General Contents Claim Limit",
"assetTermId": "a5N3j000000XnVtEAK",
"claimId": "a4X3j0000001gUPEAY",
"claimCoverageIds": ["a5G3j000000YGYwEAO"]
}
}
]
}保單條款名稱:一般內容索賠涵蓋範圍限制
屬性類別:限制 - 貨幣
屬性範圍:索賠涵蓋範圍輸出
名稱:一般內容索賠涵蓋範圍限制 - 測試對象 (Joan Smith)
{
"currentStanding": [
{
"General Contents Claim Coverage Limit - Test Party (Joan Smith)": {
"predictedRemainingValue": 500,
"pendingValue": 0,
"usedValue": 0,
"remainingValue": 500,
"initialValue": 500,
"dataType": "currency",
"insurancePolicyCoverageName": "Lab",
"insuredPartyId": null,
"insuredItemId": null,
"assetCoverageId": "a3u3j00000HyNvYAAV",
"assetId": "02i3j00000KhumpAAB",
"attributeScope": "Claim Coverage",
"attributeClass": "Limit",
"assetTermName": "General Contents Claim Coverage Limit",
"assetTermId": "a5N3j000000XnVtEAK",
"claimId": "a4X3j0000001gUPEAY",
"claimCoverageIds": ["a5G3j000000YGYwEAO"]
}
}
]
}保單條款名稱:資料涵蓋範圍索賠計數
屬性類別:限制 - 範圍計數
屬性範圍:保單涵蓋範圍輸出
名稱:資料涵蓋範圍索賠計數
{
"currentStanding": [
{
"Data Cov Claim Coverage Count": {
"predictedRemainingValue": 3,
"pendingValue": 1,
"usedValue": 1,
"remainingValue": 4,
"initialValue": 5,
"dataType": "number",
"insurancePolicyCoverageName": "Lab",
"insuredPartyId": null,
"insuredItemId": null,
"assetCoverageId": "a3u3j00000HyNvVAAV",
"assetId": "02i3j00000KhumpAAB",
"attributeScope": "Claim Coverage",
"attributeClass": "ScopeCountLimit",
"assetTermName": "Data Cov Claim Coverage Count",
"assetTermId": "a5N3j000000XnVqEAK",
"claimId": "a4X3j0000001gUPEAY",
"claimCoverageIds": ["a5G3j000000YGYwEAO"]
}
}
]
}