PATCH/projects/api/v3/projects/budgets/:budgetId/tasklists/budgets/:tasklistId.json
Updates a tasklist budget
Body Params
PatchBudgetRequest Structure for the edit budget PATCH request
- Name
tasklistBudget
- Type
- object
- Description
- Budget contains all the information returned from a budget.
- Name
tasklistBudgetOptions
- Type
- object
- Description
- RequestOptions has options for events related to requests
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Created
BudgetResponse contains information about a group of budgets.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 403
- Type
- object
- Schema
- Description
- 403 Forbidden
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 409
- Type
- object
- Schema
- Description
- 409 Conflict
ErrorResponse defines how []Error should be marshaled to JSON.
201 Created
BudgetResponse
{
"meta": {
"averageSpend": 0,
"limit": 0,
"nextCursor": "string",
"page": {
"count": 0,
"hasMore": true,
"pageOffset": 0,
"pageSize": 0
},
"prevCursor": "string",
"totalCapacity": 0
},
"tasklistBudget": {
"capacity": 0,
"capacityUsed": 0,
"createdAt": "string",
"createdBy": 0,
"deletedAt": "string",
"deletedBy": 0,
"id": 0,
"installationId": 0,
"notificationIds": [
0
],
"notifications": [
{
"id": 0,
"meta": {},
"type": "string"
}
],
"projectBudgetId": 0,
"projectId": 0,
"projectbudget": {
"id": 0,
"meta": {},
"type": "string"
},
"tasklist": {
"id": 0,
"meta": {},
"type": "string"
},
"tasklistId": 0,
"type": "string",
"updatedAt": "string",
"updatedBy": 0
}
}