Updates multiple budgets. Returns 200 on success, or 400 if any entry fails validation.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
PUT
/api-v1/budget/batch
curl \
--request PUT 'https://wyzio.app/api-v1/budget/batch' \
--header "Content-Type: application/json" \
--data '[{"id":12345678,"parent":12345678,"period":{"id":12345678},"name":"Budget name","reportType":"PL","status":"ACTIVE","department":12345678,"article":12345678,"contact":12345678,"orderId":12345678,"entries":[{"id":12345678,"reportLine":12345678,"date":"2026-11-01T00:00:00.000Z","value":5.55,"newValue":5.55,"total":5.55,"chart":12345678,"hasChildBudget":false}],"officeId":12345678}]'
Request examples
# Headers
# Payload
[
{
"id": 12345678,
"parent": 12345678,
"period": {
"id": 12345678
},
"name": "Budget name",
"reportType": "PL",
"status": "ACTIVE",
"department": 12345678,
"article": 12345678,
"contact": 12345678,
"orderId": 12345678,
"entries": [
{
"id": 12345678,
"reportLine": 12345678,
"date": "2026-11-01T00:00:00.000Z",
"value": 5.55,
"newValue": 5.55,
"total": 5.55,
"chart": 12345678,
"hasChildBudget": false
}
],
"officeId": 12345678
}
]
Response examples (200)
{
"items": [
{
"errorCode": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"errorCode": "string",
"fieldName": "string",
"data": "string",
"isSevere": true
}
]
},
"possibleWorkflows": [
{
"id": 42,
"name": "string"
}
],
"error": true,
"severeError": true
}
]
}