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
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| code* | path string | |
Request Body*
{
"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