budget
Calculate potential budget usage, for use while creating/setting budgets
Changed onget/v1/org/{orgId}/budget/calculate-usage
Request
- Base URL: https://localhost
- URL: https://localhost/v1/org/{orgId}/budget/calculate-usage
- Auth: none declared
Path parameters
orgIdstring required
Org identifier (either id or slug)
Query parameters
groupIdsstring
Group ids
costExprstring
Cost expression to calculate
currencystring
Currency to calculate in
datestring date
Date to retrieve as of
costBasisstring
Cost basis: ANNUALIZED or PERIOD_TOTAL (defaults to the org default, else PERIOD_TOTAL)
startDatestring date
Period start date (required for PERIOD_TOTAL)
endDatestring date
Period end date (required for PERIOD_TOTAL)
Response
successful operation
Changes
- breaking
removed the success response with the status
- info
added the new optional
queryrequest parametercostBasis - info
added the new optional
queryrequest parameterendDate - info
added the new optional
queryrequest parameterstartDate - info
added the success response with the status
- breaking