위치:
InsProductAsyncRatingService:fetchRepriceProductPrice
이 서비스를 사용하여 환급 제품 요청에 대한 비동기 등급 결과를 가져옵니다.
클래스: InsProductAsyncRatingService
방법: fetchRepriceProductPrice
이 서비스는 대규모 그룹 견적 사용 사례를 위해 구축되었습니다.
작동 방법
- 이 서비스는 보험 등급 요청 ID를 입력으로 사용합니다.
- 서비스는 저장된 등급 요청을 쿼리하고 상태, 등급 제품 ID, 등급 옵션, 등급 입력, 등급 출력 및
insuranceRatingRequestId와 관련된prodResultJson를 비롯한 정보를 검색합니다.노트 평가 요청 상태가 완료됨 또는 평가됨인 경우에만 평가 제품의 가격이 서비스에서 제공됩니다. - 서비스는 제출된
repriceProduct요청과 관련된 제품의 총 가격을 계산합니다. - 서비스는 업데이트된
prodResultJson를 반환합니다.
입력
| 입력 | 설명 |
|---|---|
requestId
|
(필수) 보험 등급 요청의 ID입니다. 이 ID는 서비스가 호출되면 생성됩니다. |
원격 옵션
| 옵션 | 설명 |
|---|---|
includeMemberPrices
|
출력에 구성원 수준 가격을 포함할지 여부를 나타냅니다. 기본값은 |
입력 JSON
다음은 샘플 입력 JSON입니다.
{
"requestId": "8zkRO000000004D",
}옵션 JSON
다음은 JSON 옵션 샘플입니다.
{
"includeMemberPrices": false
} 출력 JSON
샘플 출력 JSON은 다음과 같습니다.
{
"Status": "Completed",
"result":
{
"totalSize": 2,
"records": [
{
"nameResult": {
"childProducts": {},
"attributeCategories": {}
},
"fields": {
"Price": 325.0,
"currencySymbol": "$",
"currencyCode": "USD",
"productId": "01t8c00000P49yeAAB",
"ParentClassCode__c": null,
"ParentClassId__c": null,
"TotalInsuredFormula__c": null,
"Term__c": null,
"PricingFormula__c": "aggTotalPrem",
"IsConfigurable__c": true,
"RecordTypeName__c": "Product",
"PricingSource__c": null,
"ImageId__c": null,
"Tier__c": null,
"IsRecommended__c": false,
"RateBandId__c": null,
"SubType__c": null,
"Type__c": null,
"MarketSegment__c": null,
"LineOfBusiness__c": "Group Benefits",
"ProductCode": "dentalPremium",
"Family": null,
"Description": null,
"Name": "dentalPremium",
"Id": "01t8c00000P49yeAAB",
"CalculatedPriceData": {
"aggTotalPrem": 325.0,
"DentalPremiumCalcMatrixAgeBased__QuotePremium": 325.0
}
},
"displaySequence": -1
},
{
"nameResult": {
"childProducts": {},
"attributeCategories": {}
},
"fields": {
"Price": 1020.0,
"currencySymbol": "$",
"currencyCode": "USD",
"productId": "01t8c00000PLIiEAAX",
"ParentClassCode__c": null,
"ParentClassId__c": null,
"TotalInsuredFormula__c": null,
"Term__c": null,
"PricingFormula__c": "aggTotalPrem",
"IsConfigurable__c": true,
"RecordTypeName__c": "Product",
"PricingSource__c": null,
"ImageId__c": null,
"Tier__c": null,
"IsRecommended__c": false,
"RateBandId__c": null,
"SubType__c": null,
"Type__c": "Medical",
"MarketSegment__c": null,
"LineOfBusiness__c": "Group Benefits",
"ProductCode": "MEDICAL",
"Family": null,
"Description": null,
"Name": "Medical",
"Id": "01t8c00000PLIiEAAX",
"CalculatedPriceData": {
"aggTotalPrem": 325.0,
"MedicalCalcMatrixAgeBased__QuotePremium": 325.0
}
},
"displaySequence": -1
}
]
}
}
