詳細情報:
InsPolicyTermsService:getCurrentStanding
このサービスを使用して、保険契約または請求に関連付けられた保険契約の現在の状況を表す金額のリストを取得します。
このサービスでは、[Policy (保険契約)] ページと [Claim (請求)] ページの両方の [Policy Term Current Standings (保険契約条件の現在の状況)] が入力されます。保険請求レコードページで保険契約条件の状況を設定するには、Vlocity Policy Terms Standing LWC を使用します。保険契約レコードページのinsuredIdに基づいて補償の詳細を絞り込む機能を備えた保険契約条件状況を設定するには、保険契約条件状況 - Insurance Policy View コンポーネントを使用します。
操作手順
-
サービスは、policy Id、claim Id、policyCoverageId、policyParticipantId、policyAssetId のいずれかの値であるオブジェクト ID を取ります。
-
サービスは省略可能な
viewOptionノードを使用します。-
objectId が policyId の場合、サービスは次のいずれかのオプションを使用します。
-
showAllPolicyCoverage -
showPolicyLevelTermsOnly
-
-
objectId が claimId の場合、サービスは次のいずれかのオプションを使用します。
-
showAllPolicyCoverages -
showOpenClaimPolicyCoverages
-
-
-
objectId に関連付けられた保険契約条件のリストを返します。このノードに作成される名前は、特定の保険契約の属性クラスと属性範囲によって異なります。
リモートオプション
オプション |
説明 |
|---|---|
|
必須。 保険契約の現在の状況を取得する ID。 可能な値:
|
|
省略可能。 シナリオ 1: objectId が
|
シナリオ 2: objectId が
|
Input JSON
サンプル入力 JSON の形式を次に示します。
{
"objectId": <Id>
}入力 JSON のサンプルを次に示します。
{
"objectId":"a2b5w000006SBY9AAO"
}出力 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"
}
}
]
}Policy Term Name (保険契約条件名): General Contents Policy Coverage Limit (一般コンテンツ保険契約補償範囲制限)
属性クラス: 制限 - 通貨
属性範囲: Policy Coverage Output (保険契約補償範囲の出力)
名前: General Contents Policy Coverage Limit - Sample Insured (一般コンテンツ保険契約補償範囲制限 - サンプル被保険者)
{
"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"
}
}
]
}Policy Term Name (保険契約条件名): General Contents Claim Limit (一般コンテンツ請求制限)
属性クラス: 制限 - 通貨
属性範囲: 請求出力名: 一般コンテンツ請求制限
{
"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"]
}
}
]
}Policy Term Name (保険契約条件名): General Contents Claim Coverage Limit (一般コンテンツ請求補償範囲制限)
属性クラス: 制限 - 通貨
属性範囲: 請求補償範囲の出力
名前: General Contents Claim Coverage Limit - Test Party (一般コンテンツ請求補償範囲制限 - テスト関係者) (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"]
}
}
]
}Policy Term Name (保険契約条件名): Data Cov Claim Coverage Count (Data Cov 請求補償範囲数)
属性クラス: 制限 - 範囲数
属性範囲: Policy Coverage Output (保険契約補償範囲の出力)
名前: Data Cov Claim Coverage Count (Data Cov 請求補償範囲数)
{
"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"]
}
}
]
}