---
schema_version: "1"
id: 6fc1c9020728a40a5088e5b1a5489cb066e13c1caa566dc63e4b2357bc9d8bcf
title: Expected Revenue
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_responses_expected_revenue_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_expected_revenue_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4144e71e4c3a7c74cc22ebd70a0f96da833861f7199d04fc68ed0f1089419ee5
description: Output representation of the details of the expected revenue.
---
# Expected Revenue

Output representation of the details of the expected revenue.

## JSON Example

This example shows a sample success response.

{
  "policy": {
    "id": "p111",
    "amountWithFrequency": {
      "annually": 1000.3,
      "monthly": 100.03,
      "quarterly": 300.09
    },
    "coverages": \[
      {
        "id": "pc111",
        "amountWithFrequency": {
          "annually": 1000.3,
          "monthly": 100.03,
          "quarterly": 300.09
        },
        "ratePlans": \[
          {
            "id": "rp11",
            "totalPremiumAmount": 350,
            "totalFeeAmount": 200,
            "totalPremiumEqvAmount": 100,
            "expectedRevenueAmount": 45,
            "ratePlanCommissions": \[
              {
                "id": "rpc111",
                "premiumPercent": 100,
                "type": "FlatPercentOfPremium"
              }
            \]
          },
          {
            "id": "rp12",
            "totalPremiumAmount": 350,
            "totalFeeAmount": 200,
            "totalPremiumEqvAmount": 100,
            "expectedRevenueAmount": 45,
            "ratePlanCommissions": \[
              {
                "id": "rpc111",
                "premiumPercent": null,
                "type": "GradedPercent",
                "amountStartRange": 0,
                "amountEndRange": 1000
              },
              {
                "id": "rpc112",
                "premiumPercent": null,
                "type": "GradedPercent",
                "amountStartRange": 1001,
                "amountEndRange": 10000
              },
            \]
          }
        \]
      }
    \]
  }
}

This example shows a sample error response.

{
    "isSuccess":false,
    "errors" : \[
        {
            "code":INVALID\_INPUT,
            "message": "Specify a valid ratePlanId."
        }
    \]
}

| Property Name | Type | Description | Filter Group and Version | Available Version |
| --- | --- | --- | --- | --- |
| errors | [Error Response](https://developer.salesforce.com/docs/atlas.en-us.264.0.chatterapi.meta/chatterapi/connect_responses_error_response.htm "HTML (New Window)")\[\] | List of errors encountered during the processing of the API request. | Small, 63.0 | 63.0 |
| isSuccess | Boolean | Indicates whether the API request is successful (true) or not (false). | Small, 63.0 | 63.0 |
| policy | [Expected Revenue Policy](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_exp_rev_policy_output.htm "Output representation of the associated expected revenue details for a policy, such as coverages and rate plans.")\[\] | Map of the policy and expected revenue calculation details. | Small, 63.0 | 63.0 |