Leadtime icon

Leadtime

Interact with Leadtime ERP API

Actions180

Vacation → Get History

AI-generated

Summary

Retrieves vacation history from Leadtime, with optional filters and a configurable result limit or all-results mode.

Inputs

  • returnAll — When enabled, return all matching results; otherwise, return up to the configured Limit (default 50, range 1–500).
  • limit — Maximum results when Return All is disabled. Defaults to 50; allowed values are 1–500.
  • filters.teamId — Filter by team UUID.
  • filters.status — Filter by one or more statuses: Rejected, Cancelled, or Approved.
  • filters.dateFrom — Filter vacations starting from this date.
  • filters.dateTo — Filter vacations ending before this date.

Output shape

a list of vacation history records

Returns the API response as an array. Return All controls whether results are limited; the source indicates pagination is used for this operation.

Links

Discussion