Update budget amounts

Partially update a budget: set budgeted amounts and/or publish or unpublish it. Each item updates (or creates) the line matching its account, fund, and month, and an amount of 0 removes the line. Anything left out of the body is unchanged.

Required permission: Full Write Accounting

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the budget

Body Params

The fields that should update

items
array of objects | null

The budgeted amounts to set. Each entry updates (or creates) the line matching its account, fund, and month.

items
boolean | null

Set to true to publish the budget, or false to revert it to draft. Leave out to keep the current status.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json