Update a budget day
PATCH/api/budget-days/{id}
Required permissions:
- budget.edit: allows edit resources of a budget of a project where the user is the PM or the Account.
Here the dedicated support page.
Request
Path Parameters
The ID of the budget day to update
Header Parameters
The company you want to interact with
The API version you want to use
- application/json
Body
The number of days
Responses
- 200
- 400
- 401
- 403
- 404
Returns the updated budget day.
- application/json
- Schema
- Example (from schema)
Schema
Possible values: >= 1
The amount of days
The unique identifier of the budget day
Possible values: >= 1
The ID of the budget job title
Possible values: >= 1
The ID of the budget price list level
Possible values: >= 1
The ID of the budget task
{
"id": 1,
"created_at": "2025-05-14T14:57:27.267Z",
"updated_at": "2025-05-14T14:57:27.267Z",
"days": 100,
"uid": "uid_01a2bcd3e4f56",
"budget_job_title_id": 1,
"budget_price_list_level_id": 1,
"budget_task_id": 1
}
Validation failed
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Error unique key
Human-readable message describing the error
failures
object[]
List of validation errors
Name of the field causing the error
Human-readable description of the error
{
"key": "invalid_data",
"message": "You provided invalid data. Check 'failures' for details.",
"failures": [
{
"field": "string",
"message": "string"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
"key": "not_found",
"message": "string"
}