Get budget by ID

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Wyzio MCP server": {
    "url": "https://restapi.wyzio.com/mcp"
  }
}

Close
GET /api-v1/budget/{id}

Returns budget details by ID. Returns 404 if not found.

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Path parameters

  • id integer(int64) Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer(int64)
    • parent integer(int64)
    • period object Required
      Hide period attributes Show period attributes object
      • id integer(int64) Required
      • fiscalYear integer(int32)
      • startDate string(date-time)
      • endDate string(date-time)
    • name string Required

      Minimum length is 1.

    • reportType string

      Values are PL or CASH_FLOW.

    • status string

      Values are ACTIVE or INACTIVE.

    • department integer(int64)
    • article integer(int64)
    • contact integer(int64)
    • orderId integer(int64)
    • entries array[object]

      Budget entry line

      Hide entries attributes Show entries attributes object

      Budget entry line

      • id integer

        Entity ID. If negative value, a new entity will be created

      • reportLine integer
      • date string(date-time)
      • value number
      • newValue number(double)
      • total number(double)
      • chart integer
      • hasChildBudget boolean
    • warnings string
    • officeId integer(int64)
    • isReadOnly boolean
  • 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}'
Response examples (200)
{
  "id": 42,
  "parent": 42,
  "period": {
    "id": 42,
    "fiscalYear": 42,
    "startDate": "2026-05-04T09:42:00Z",
    "endDate": "2026-05-04T09:42:00Z"
  },
  "name": "string",
  "reportType": "PL",
  "status": "ACTIVE",
  "department": 42,
  "article": 42,
  "contact": 42,
  "orderId": 42,
  "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
    }
  ],
  "warnings": "string",
  "officeId": 42,
  "isReadOnly": true
}