Get details of organization default codes

GET /api-v1/organization/codes

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
    • accruedExpenses integer
    • accruedRevenue integer
    • annualProfitLoss integer
    • bankExpenses integer
    • clientBalanceSheet integer
    • clientPL integer
    • clientPrePayment integer
    • clientVAT integer
    • clientVATPaid integer
    • compensation integer
    • depreciationAccount integer
    • extraordinaryExpenseAccount integer
    • extraordinaryIncomeAccount integer
    • fXGainLoss integer
    • id integer
    • lossOnDeptors integer
    • retainedEarnings integer
    • stock integer
    • stockMovements integer
    • supplierBalanceSheet integer
    • supplierPrePayment integer
    • supplierVAT integer
    • supplierVATPaid integer
    • system integer
    • transactionAdjustment integer
    • vatAccount integer
    • workInProgress integer
    • workInvoicedUpfront integer
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/organization/codes
curl \
 --request GET 'https://wyzio.app/api-v1/organization/codes' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
{
  "accruedExpenses": 42,
  "accruedRevenue": 42,
  "annualProfitLoss": 42,
  "bankExpenses": 42,
  "clientBalanceSheet": 42,
  "clientPL": 42,
  "clientPrePayment": 42,
  "clientVAT": 42,
  "clientVATPaid": 42,
  "compensation": 42,
  "depreciationAccount": 42,
  "extraordinaryExpenseAccount": 42,
  "extraordinaryIncomeAccount": 42,
  "fXGainLoss": 42,
  "id": 42,
  "lossOnDeptors": 42,
  "retainedEarnings": 42,
  "stock": 42,
  "stockMovements": 42,
  "supplierBalanceSheet": 42,
  "supplierPrePayment": 42,
  "supplierVAT": 42,
  "supplierVATPaid": 42,
  "system": 42,
  "transactionAdjustment": 42,
  "vatAccount": 42,
  "workInProgress": 42,
  "workInvoicedUpfront": 42
}