Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Update Service Budget

PUT /tenants/{tenant}/budgets/services/{code}

Sets the service's budget period and standard hours. The fee is not part of this route. Turning the hours off while there is no fee removes the standard.

Requires: Update on JobBudgets.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string
{
  "period": "OneOff",
  "hoursMode": "None",
  "budgetMinutes": 1,
  "stages": [
    {
      "stageCode": "...",
      "figure": "..."
    }
  ]
}

Responses

204 No Content
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found