You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Salesforce报价费率计算:Integration Procedure返回格式求助

求助:Salesforce Rate Now服务Integration Procedure响应格式问题

我们使用Rate Now服务获取报价行项目的价格,该服务会调用InsurancePCRuntimeHandler类的priceRootItem方法。当在产品上设置Expression Set作为Rating Procedure Type时,可正确获取硬编码的价格,但使用**Integration Procedure(IP)**时,会报错:

There is no rating result returned. Please check your rating procedure.

即使我们将IP的响应硬编码为与Expression Set一致的格式,仍出现该问题。现求助:Integration Procedure需要返回何种正确JSON格式,才能让priceRootItem方法正确读取?

参考文档:

  • 未使用rating facts的健康计划定价官方文档
  • 旧版InsurancePCRuntimeHandler.priceRootItem方法官方文档

我们尝试过的响应格式如下:


"output": {
    "aggregationResults": {
        "FinalTotalPrice": 1821.12
    },
    "calculationResults": [
        {
            "NumberAdjustForGroupSize": 1.075,
            "Plan_Code_Base_Price__ProductCodeOut": "P42PPO",
            "Plan_Code_Base_Price__BasePrice": 255.29,
            "FinalGroupSizePercentage": 0.075,
            "CalculatedPlanPriceTierFAM": 2731.68,
            "TotalPremium": 1821.12,
            "FinalRatePMPM": 455.28,
            "CalculatedPlanPriceTierEC": 1639.01,
            "CalculatedPlanPriceTierES": 2003.23,
            "CalculatedPlanPriceTierEE": 910.56
        }
    ]
}

{
    "ouput": [
      {
        "calculationResults": [
          {
            "parentProdKey": "0QL74000000LhgcGAC",
            "productKey": "0QL74000000LhgcGAC",
            "ID": "userInputs",
            "totalPremium": 1805.04,
            "CalculatedPlanPriceTierFAM": 2707.56,
            "CalculatedPlanPriceTierES": 1985.54,
            "CalculatedPlanPriceTierEC": 1624.54,
            "CalculatedPlanPriceTierEE": 902.52,
            "FinalRatePMPM": 451.26,
            "NumberAdjustForGroupSize": 1.075,
            "FinalGroupSizePercentage": 0.075,
            "Plan_Code_Base_Price__BasePrice": 255.29,
            "Plan_Code_Base_Price__ProductCodeOut": "P42PPO"
          }
        ],
        "aggregationResults": {
          "totalPremium": 1805.04
        }
      }
    ],
    "input": [
      {
        "FinalTotalCoveredLivesFactor": "1.1100",
        "TotalNumEmpWithSpouses": "0.00",
        "ProductCode": "P42PPO",
        "Size": "2.00",
        "TotalNumEmpChildOnly": "0.00",
        "TotalNumEmpFamily": "0.00",
        "AreaFactor": "1.0000",
        "QuoteLoadFactor": "1.00",
        "TotalNumEmpOnly": "2.00",
        "AverageLivesPerEmployee": "2.0000",
        "TierTemp": "EE",
        "EffectiveDate": "2023-10-01"
      }
    ]
  }

我们的目标是实现报价行项目价格的更新,恳请各位提供帮助!

内容的提问来源于stack exchange,提问作者pivo

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.06 03:28:29