BizKitHub
DokumentáciaPrieskumník APILedger/api/v1/ledger/entity-list
getLedgerVerejné API v1

/api/v1/ledger/entity-list

List accounting entities of the organisation that keep double-entry books.

Use the returned id as entityId in the other ledger endpoints. Entities without activated bookkeeping are omitted.

ledgergetApiV1LedgerEntity-list

Parametre

1 v query

Parametre v query

· 1
apiKeystringPovinné

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

PríkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech
itemsobject[]Povinné
Každá položka poľa:
idstringPovinné
namestringPovinné
baseCurrencystringPovinné
PríkladCZK
accountingStartsOnstring | nullPovinné
fiscalYearStartMonthnumberPovinné
Rozsah: 1–12
lockedUntilstring | nullPovinné

No postings on or before this date.

itemCountnumberPovinné

Ukážka odpovede

application/json
{
  "items": [
    {
      "id": "example_id",
      "name": "example_name",
      "baseCurrency": "CZK",
      "fiscalYearStartMonth": 0
    }
  ],
  "itemCount": 0
}

Ukážka požiadavky

GET /api/v1/ledger/entity-list

get
curl -X GET "https://api.bizkithub.com/api/v1/ledger/entity-list?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potrebujete API kľúč?

Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.

Získať API kľúč