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 Details
accountId
Type
array
Description
The ID of the account record for which to calculate the forecasts.
forecastDataId
Type
array
Description
The ID of the forecast data for which the forecast is being calculated.
forecastSetId
Type
array
Description
The ID of the forecast set associated with the forecast formulae to be used for calculation.

Usage

JSON Sample Request

{
   "inputs":[{
      "forecastSetId":"0ni5sajb8347k3s",
      "accountId": "0yAxx00004000002AAA",
      "forecastDataId": "0r4ft8941574TRE78V"
   }]
}

JSON Sample Response

[
{
   "errors":null,
   "isSuccess":true
}
]