Routes
Budgets

New Budget

This request creates a new Budget.

ParameterTypeRequiredDescription
locationIDIntRequiredThe ID of the location this budget will belong to.
nameStringRequiredThe title of this budget.
awaitingAllowPOEditBooleanRequiredWhen POs belonging to this budget are in the "ready to receive" state, will they be editable?
awaitingEmailSendBooleanRequiredWhen POs belonging to this budget enter the "ready to receive" state, should the assignee(s) be emailed?
awaitingAssignmentTypeEnumRequiredWhat type ('user' or 'team') should we interpret the awaitingAssignment value as?
awaitingAssignmentInt or Array of IntsRequiredWhen POs belonging to this budget enter the "ready to receive" state, who will they be assigned to? If awaitingAssignmentType is 'team' then this cannot be an array, and may only be one number.
prEmailSendBooleanRequiredWhen PO items are received on POs that belong to this budget in the "ready to receive" or "partially received" states, should we send email notification(s)?
prAssignmentTypeEnumRequiredWhat type ('user' or 'team') should we interpret the prAssignment value as?
prAssignmentInt or Array of IntsRequiredWhen bills are generated for PO items on POs that belong to this budget, who should the bills be assigned to? If prAssignmentType is 'team' then this cannot be an array, and may only be one number.
defaultBudgetObjectRequiredAn object containing Boolean flags for global, purchaseRequests, and minPartQtyPOs. Setting any of these flags to true will set the same value for any other budgets at this location to false (we cannot have two default budgets). All properties of this object are required. global: Should this be the default budget for this location? purchaseRequests: When purchase requests are created from tasks, should this be the default budget? minPartQtyPOs: When a PO is automatically created due to part quantity threshold, should this be the default budget?
post/v2/budgets

Request

Request body

locationIDinteger
namestring
awaitingAllowPOEditboolean
awaitingEmailSendboolean
awaitingAssignmentTypestring
awaitingAssignmentinteger
prEmailSendboolean
prAssignmentTypestring
prAssignmentinteger

Response

New Budget

budgetIDinteger

Changes

No recorded changes to this operation across all 4 revisions of this API.