Get details of budget

GET /api-v1/budget/{id}

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Path parameters

  • id integer Required

    id

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • article integer
    • contact integer
    • department integer
    • entries array[object]
      Hide entries attributes Show entries attributes object
      • chart integer
      • date string(date-time)
      • hasChildBudget boolean
      • id integer
      • newValue string
      • reportLine integer
      • total number
      • value string
    • id integer
    • isReadOnly boolean
    • name string
    • officeId integer
    • orderId integer
    • parent integer
    • period object
      Hide period attributes Show period attributes object
      • endDate string(date-time)
      • fiscalYear integer(int32)
      • id integer
      • startDate string(date-time)
    • reportType string

      Values are BALANCE_SHEET, PL, CASH_FLOW, or RATIOS.

    • status string

      Values are ACTIVE or INACTIVE.

    • warnings string
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/budget/{id}
curl \
 --request GET 'https://wyzio.app/api-v1/budget/{id}' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
{
  "article": 42,
  "contact": 42,
  "department": 42,
  "entries": [
    {
      "chart": 42,
      "date": "2025-05-04T09:42:00Z",
      "hasChildBudget": true,
      "id": 42,
      "newValue": "string",
      "reportLine": 42,
      "total": 42.0,
      "value": "string"
    }
  ],
  "id": 42,
  "isReadOnly": true,
  "name": "string",
  "officeId": 42,
  "orderId": 42,
  "parent": 42,
  "period": {
    "endDate": "2025-05-04T09:42:00Z",
    "fiscalYear": 42,
    "id": 42,
    "startDate": "2025-05-04T09:42:00Z"
  },
  "reportType": "BALANCE_SHEET",
  "status": "ACTIVE",
  "warnings": "string"
}