201 Successful Response
Schema: CashForecastVersionApplyResponse
-
version_idstring required -
budget_idstring -
excluded_budget_ledger_idsarray · string -
applied_override_countinteger required
/api/v1/businesses/{business_id}/cfo-portal/cash-forecast/versions/{version_id}/apply
Load a saved version into the user's working scope.
Pushes the version's budget exclusion list to business settings
and replays its overrides into the working scope so the live
forecast recomputes against the saved configuration. The caller
should invalidate the cash-forecast query and use budget_id
from the response to sync any local budget-selector state.
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
business_id
string
required version_id
string
required Schema: CashForecastVersionApplyResponse
version_id
string
required budget_id
string
excluded_budget_ledger_ids
array · string
applied_override_count
integer
required Schema: HTTPValidationError
detail
array · ValidationError
ValidationError loc
array · string | integer
required msg
string
required type
string
required input
object
ctx
object