Store a new budget
Creates a new budget. The data required can be submitted as a JSON body or as a list of parameters.
Body
JSON array or key=value pairs with the necessary budget information. See the model for the exact specifications.
namestringrequiredBillsactivebooleanfalsenotesstring | nullSome notesfire_webhooksbooleantrueWhether or not to fire the webhooks that are related to this event.
trueauto_budget_typeAutoBudgetType | nullresetrollovernonenullThe type of auto-budget that Firefly III must create.
resetauto_budget_currency_idstring | nullUse either currency_id or currency_code. Defaults to the user's financial administration's currency.
12auto_budget_currency_codestring | nullUse either currency_id or currency_code. Defaults to the user's financial administration's currency.
EURauto_budget_amountstring<amount> | null-1012.12auto_budget_periodAutoBudgetPeriod | nulldailyweeklymonthlyquarterlyhalf-yearyearlynullPeriod for the auto budget
monthlyParameters
X-Trace-Idstring<uuid>headerUnique identifier associated with this request.
Response
New budget stored, result in response.
Bad request
Unauthenticated
Page not found
Validation error. The body will have the exact details.
Internal exception
Authorization
firefly_iii_authoauth2OAuth2 authorization code flow. Create a client on your installation's /profile page; it authorizes at /oauth/authorize and issues tokens at /oauth/token there. The URLs below are the demo site's. How to use the API walks through it.
local_bearer_authhttp (bearer)A Personal Access Token, sent as a bearer token. Create one on your installation under Options > Profile > OAuth > Personal Access Tokens.
