Update budget line

PATCH/api/v1/budgets/{budget_id}/lines/{line_id}

Update amounts on a budget line.

Operation ID: update_budget_line_api_v1_budgets__budget_id__lines__line_id__patch·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
line_idstringrequired

Request body

jan_amountinteger

January budget amount in cents.

feb_amountinteger

February budget amount in cents.

mar_amountinteger

March budget amount in cents.

apr_amountinteger

April budget amount in cents.

may_amountinteger

May budget amount in cents.

jun_amountinteger

June budget amount in cents.

jul_amountinteger

July budget amount in cents.

aug_amountinteger

August budget amount in cents.

sep_amountinteger

September budget amount in cents.

oct_amountinteger

October budget amount in cents.

nov_amountinteger

November budget amount in cents.

dec_amountinteger

December budget amount in cents.

notesstring

Optional notes for this line.

Responses

200Successful Response

successboolean
messagestring
codestring
dataBudgetLineResponse

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