Budget Suggestions

Accept a budget suggestion

Marks the suggestion as accepted and links it to an existing budget. Create the budget first via POST /analytics/v1/budgets, then pass its id as budgetId. The budget must belong to your account.

post/analytics/v1/budget-suggestions/{id}/actions/accept

Request

  • Base URL
    https://api.doit.com
  • URL
    https://api.doit.com/analytics/v1/budget-suggestions/{id}/actions/accept
  • Auth
    • API key in header Authorization
    • or API key in header X-Tenant-Id and API key in header Authorization

Path parameters

idstring required

Budget suggestion ID.

Request body

budgetIdstring required

ID of the budget (created via POST /analytics/v1/budgets) to link this suggestion to.

editedBeforeAcceptboolean

Whether the customer edited the suggested values before accepting.

Response

OK - The suggestion was accepted and linked to the budget.

budgetIdstring

ID of the budget the suggestion was linked to.

Changes

No recorded changes to this operation across all 1 revision of this API.