Copy budget

POST/api/v1/budgets/{budget_id}/copy

Create a copy of a budget with optional percentage adjustment.

Operation ID: copy_budget_api_v1_budgets__budget_id__copy_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

budget_idstringrequired

Request body

namestringrequired

Name for the new budget copy.

fiscal_yearintegerrequired

Fiscal year for the new budget.

start_datestring · daterequired

Start date for the new budget.

end_datestring · daterequired

End date for the new budget.

adjustment_percentinteger

Percentage adjustment to apply to all amounts (e.g., 5 = +5%, -10 = -10%).

Responses

201Successful Response

successboolean
messagestring
codestring
dataBudgetDetailResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject