Update Advanced Account Forecast Set Partner Action
Updates the status of the Advanced Account Forecast Set Partner record
after the forecast data for a given combination of account and forecast set has been
generated.
For more information about how the updateAdvancedAccountForecastSetPartner action updates the status, see Calculate Account Forecasts Using Flows in Salesforce Help.
This object is available in API version 53.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/updateAdvancedAccountForecastSetPartner
- Formats
- JSON
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
Input | Details |
---|---|
accountId |
|
forecastSetId |
|
status |
|
Usage
JSON Sample Requests
This example sets the status for the Account Forecast Set Partner record with given forecast
set ID and account ID to Active.
{
"inputs":[{
"forecastSetId" : "0ni5sajb8347k3s",
"accountId" : "001jsdhsdjo457",
"status" : "Active"
}]
}
This example sets the status for all the Forecast Set Partner records with the given forecast
set ID to Active.
{
"inputs":[{
"forecastSetId" : "0ni5sajb8347k3s"
}]
}
This example sets the status for all the Forecast Set Partner records with the given forecast
set ID to Inactive.
{
"inputs":[{
"forecastSetId" : "0ni5sajb8347k3s",
"status" : "Inactive"
}]
}
JSON Sample Response
[ {
"actionName" : "updateAdvancedAccountForecastSetPartner",
"errors" : null,
"isSuccess" : true,
"outputValues" : null
} ]