201Successful Response
Schema: SuccessEnvelope_BudgetLineResponse_
successbooleanmessagestringcodestringdataBudgetLineResponse
/api/v1/budgets/{budget_id}/linesAdd a budget line item for a ledger account.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
budget_idstringrequiredSchema: BudgetLineCreateRequest
ledger_idstringrequiredLedger account UUID for this budget line.
jan_amountintegerJanuary budget amount in cents.
feb_amountintegerFebruary budget amount in cents.
mar_amountintegerMarch budget amount in cents.
apr_amountintegerApril budget amount in cents.
may_amountintegerMay budget amount in cents.
jun_amountintegerJune budget amount in cents.
jul_amountintegerJuly budget amount in cents.
aug_amountintegerAugust budget amount in cents.
sep_amountintegerSeptember budget amount in cents.
oct_amountintegerOctober budget amount in cents.
nov_amountintegerNovember budget amount in cents.
dec_amountintegerDecember budget amount in cents.
notesstringOptional notes for this line.
Schema: SuccessEnvelope_BudgetLineResponse_
successbooleanmessagestringcodestringdataBudgetLineResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.