Leadtime icon

Leadtime

Interact with Leadtime ERP API

Actions180

Journal → Get Many

AI-generated

Summary

Fetches journal entries from the Leadtime API, supporting pagination or returning all results.

Inputs

  • returnAll — Whether to return all journal entries or only up to a given limit.
  • limit — Max number of results to return. Only applies when returnAll is false.
  • page — Page number for pagination. Defaults to 1.
  • pageSize — Items per page. Defaults to 50.

Output shape

a list of items, each containing a journal entry

When returnAll is true, all pages are fetched. When false, only one page is returned based on the page and pageSize parameters.

Examples

Example 1: Fetch the first page of 50 journal entries

Set returnAll to false, page to 1, and pageSize to 50.

Example 2: Retrieve all journal entries without pagination

Set returnAll to true to bypass limit and page settings.

Links

Discussion