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" \
--header "WEAL-TOKEN: string" \
--header "TARGET-ORGANIZATION-ID: 42" \
--data '[{"id":42,"parent":42,"period":{"id":42,"fiscalYear":42,"startDate":"2026-05-04T09:42:00Z","endDate":"2026-05-04T09:42:00Z"},"name":"string","reportType":"BALANCE_SHEET","status":"ACTIVE","department":42,"article":42,"contact":42,"orderId":42,"entries":[{"id":42,"reportLine":42,"date":"2026-05-04T09:42:00Z","newValue":"string","value":"string","total":42.0,"chart":42,"hasChildBudget":true}],"warnings":"string","officeId":42,"isReadOnly":true}]'
Request examples
# Headers
WEAL-TOKEN: string
TARGET-ORGANIZATION-ID: 42
# Payload
[
{
"id": 42,
"parent": 42,
"period": {
"id": 42,
"fiscalYear": 42,
"startDate": "2026-05-04T09:42:00Z",
"endDate": "2026-05-04T09:42:00Z"
},
"name": "string",
"reportType": "BALANCE_SHEET",
"status": "ACTIVE",
"department": 42,
"article": 42,
"contact": 42,
"orderId": 42,
"entries": [
{
"id": 42,
"reportLine": 42,
"date": "2026-05-04T09:42:00Z",
"newValue": "string",
"value": "string",
"total": 42.0,
"chart": 42,
"hasChildBudget": true
}
],
"warnings": "string",
"officeId": 42,
"isReadOnly": true
}
]
Response examples (200)
{
"items": [
{
"errorCode": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"errorCode": "string",
"fieldName": "string",
"data": "string",
"isSevere": true
}
]
},
"freshRow": {},
"freshData": {},
"possibleWorkflows": [
{
"id": 42,
"name": "string"
}
],
"error": true,
"severeError": true
}
]
}