Calculate Advanced Account Forecasts Action

Calculate forecasts for an account based on the formulae associated with the forecast set.

For more information about calculating forecasts for an account, see Use Manufacturing Actions in Flow Builder and Process Builder in Salesforce Help.

This object is available in API version 52.0 and later.

Supported REST HTTP Methods

URI: /services/data/vXX.X/actions/standard/calculateAdvancedAccountForecast

Formats: JSON

HTTP Methods: GET, POST

Authentication: Authorization: Bearer token

Inputs

Input Type Description
accountId array The ID of the account record for which to calculate the forecasts.
forecastDataId array The ID of the forecast data for which the forecast is being calculated.
forecastSetId array The ID of the forecast set associated with the forecast formulae to be used for calculation.

Usage

JSON Sample Request

1{
2   "inputs":[{
3      "forecastSetId":"0ni5sajb8347k3s",
4      "accountId": "0yAxx00004000002AAA",
5      "forecastDataId": "0r4ft8941574TRE78V"
6   }]
7}

JSON Sample Response

1[
2{
3   "errors":null,
4   "isSuccess":true
5}
6]