Budget
A budget: a named pot of minutes on a project that tasks are filed under and time is logged against, optionally filed in an organisation-wide budget group.
- Summary view
- BudgetList, 18 fields. What a list returns by default.
- Detail view
- Budget, 18 fields. The default for a single read and for every write.
- Read with
- api:
read: andbudgets::budgets read - Write with
- api:
write: andbudgets::budgets create
Deleting one is permanent and takes its tasks with it; a budget with logged time cannot be deleted.
Used by
Fields
- Detail only
- Only in the detail view.
- Only with include
- Only when you ask for it with include.
- Server-assigned
- Set by plnnrly, never by a request.
Owning project. Settable at create time only; a budget cannot be moved to another project.
Position within the project as arranged in plnnrly. Set on create to the highest existing position plus one, and renumbered 1..n per project whenever the project's budget page is saved in plnnrly. Not writable.
Budget description as shown in the UI. This is the budget's label and the only field ?q= searches; a budget has no title.
The portion of the budget that may be allocated to tasks, in minutes. A stored value, never decremented by logged time.
Whether the budget is open-ended: when true the spendable cap is ignored, plnnrly shows "open" in place of a minute total and the over-budget warning is skipped.
The project this budget belongs to.
The budget group this budget is filed under.
Variants
BudgetList 18 fields
What a collection returns, and what ?view=summary returns on a single record.
The same fields as the detail object.
BudgetSummary 2 fields
The embedded form: what you get when another resource carries this one and you did not include it.
Leaves out: project_id, budget_group_id, order_column, start_date, end_date, budget, spendable, status, is_open, is_billable, created_at, updated_at, project, budget_group, tasks_count, links
BudgetLinks 2 fields
The links object on this resource.
Keys: self, tasks
Something wrong or missing on this page? Tell us