Get total values for balance

GET /api-v1/balance/total

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)

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • account object
      Hide account attributes Show account attributes object
      • de string
      • en string
      • fr string
      • it string
    • accountId integer
    • accountNumber integer
    • accountType string

      Values are BALANCE_SHEET, PL, or SYSTEM.

    • credit number
    • debit number
    • endingBalance number
    • id integer
    • lastYearCredit number
    • lastYearDebit number
    • lastYearEndingBalance number
    • organizationId integer
    • tenantId integer
    • 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/balance/total
curl \
 --request GET 'https://wyzio.app/api-v1/balance/total' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
{
  "account": {
    "de": "string",
    "en": "string",
    "fr": "string",
    "it": "string"
  },
  "accountId": 42,
  "accountNumber": 42,
  "accountType": "BALANCE_SHEET",
  "credit": 42.0,
  "debit": 42.0,
  "endingBalance": 42.0,
  "id": 42,
  "lastYearCredit": 42.0,
  "lastYearDebit": 42.0,
  "lastYearEndingBalance": 42.0,
  "organizationId": 42,
  "tenantId": 42,
  "warnings": "string"
}