Rentman icon

Rentman

Interact with the Rentman rental management API

Actions206

Leave Type → Get Collection

AI-generated

Summary

Retrieve a collection of Leave Type records from Rentman, optionally filtering, sorting, paginating, and expanding linked fields.

Inputs

  • expand — Comma-separated list of linkable fields to inline in the response instead of returning their path. Supports up to 3 levels of nested expansion using dot notation (e.g., equipment,equipment.creator). Only link/item fields can be expanded.
  • returnAll — Boolean flag to determine whether to return all Leave Type records or limit the response to a subset.
  • limit — Maximum number of Leave Type records to return when returnAll is false. Minimum value is 1, default is 50.
  • offset — Number of results to skip for offset-based pagination when returnAll is false. Minimum value is 0, default is 0.
  • filters — A collection of filters to restrict which Leave Types are returned. Available filters include 'Created After', 'ID Greater Than', 'Modified After', 'Modified Before', 'Fields' to return specific fields only, and 'Sort' for sorting by a field in ascending (+) or descending (-) order.
  • customQueryParams — Custom query parameters to further filter or query the collection. Useful for field-value filtering or relational operators not covered by the standard filters.

Output shape

a paginated list of Leave Type records as returned by the Rentman API

If 'returnAll' is true, all records will be fetched by following pagination links automatically; otherwise, results respect 'limit' and 'offset' parameters. Expanded linked fields are inlined as specified. Custom query parameters override or supplement standard filters.

Links

Discussion