Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/budget/upload
curl \
--request POST 'https://wyzio.app/api-v1/budget/upload' \
--header "Content-Type: multipart/form-data" \
--header "WEAL-TOKEN: string" \
--header "TARGET-ORGANIZATION-ID: 42" \
--form "file=@file" \
--form "id=42" \
--form "parent=42" \
--form "periodId=42" \
--form "name=string" \
--form "reportType=BALANCE_SHEET" \
--form "status=ACTIVE" \
--form "department=42" \
--form "article=42" \
--form "contact=42" \
--form "orderId=42" \
--form "officeId=42"
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
}
]
}