Skip to main content

Locate archived general ledger journal entry chunks

GET 

/gljournalentries/archives

Discovers which archived chunks contain general ledger journal entries matching exactly one filter mode. The response shape depends on the mode: the date-range (creation_start_date + creation_end_date) and entryId-range (entry_id_from + entry_id_to) modes return a JSON array of chunk descriptors; the entryId-list (entry_ids, up to 100) mode returns a JSON object mapping each requested entryId to the chunk descriptors that contain it (a requested entryId can match more than one chunk because entry identifiers are not strictly ordered by creation date; unmatched entryIds are omitted). Only entries old enough to have been archived are discoverable; more recent entries remain available through the live Journal Entries endpoints and cannot be located here, and requests reaching into that recent range are rejected. Use the returned chunkId values with the Archive Download API. Requires the VIEW_ARCHIVED_JOURNAL_ENTRIES permission.

Request

Responses

Archive chunk descriptors (date/entryId range modes) or an entryId-to-chunkIds map (entryId-list mode) returned.

Response Headers
    Items-Limit

    Fixed page size (1000). Present only when more than one page of chunk descriptors matches (total greater than 1000).

    Items-Total

    Total number of matching chunk descriptors across all pages. Present only when more than one page matches (total greater than 1000).