Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Compute Clean Energy Application Benefits Action

Calculate rebate amounts and benefits for a clean energy program application based on program rules, product specifications, and eligibility criteria.

This action is available in API version 60.0 and later.

Special Access Rules

The Compute Clean Energy Application Benefits action is available in Enterprise and Unlimited Editions with Energy and Utilities Cloud and the Clean Energy Programs feature.

Supported REST HTTP Methods

URI
/services/data/v60.0/actions/standard/computeCleanEnergyApplnBen
Formats
JSON, XML
HTTP Methods
POST
Authentication
Authorization: Bearer token

Inputs

Input Details
applicationId
Type
string
Description

Required.

ID of the individual application record for which benefits are computed.

Outputs

Output Details
computedBenefits
Type
Apex Object (eucloudprogram__BenefitDetailsIAOutputList)
Description
List of computed benefit details for the application, including calculated rebate amounts, benefit categories, computation details, and eligibility confirmation.

Example

POST

This sample request is for the Compute Clean Energy Application Benefits action.

1{
2  "inputs": [
3    {
4      "applicationId": "0INxx0000004CmqAAE"
5    }
6  ]
7}

This sample response is for the Compute Clean Energy Application Benefits action.

1[
2  {
3    "actionName": "computeCleanEnergyApplnBen",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outputValues": {
8      "computedBenefits": {
9        "benefitDetails": [
10          {
11            "benefitCategory": "Solar Rebate",
12            "computedAmount": 1500.00,
13            "isEligible": true
14          }
15        ]
16      }
17    },
18    "sortOrder": -1,
19    "version": 1
20  }
21]