Rentman icon

Rentman

Interact with the Rentman rental management API

Actions206

Task → Get Files

AI-generated

Summary

Retrieve files associated with a specified task in Rentman, optionally expanding linked entities and applying filtering, sorting, and pagination.

Inputs

  • Task ID (required) — The ID of the task to retrieve files for.
  • Expand — Comma-separated list of linkable fields to inline in the response instead of returning a path, supporting dot notation up to 3 levels (e.g. equipment,equipment.creator).
  • Return All — Whether to return all results or limit the number of returned files.
  • Limit — Maximum number of files to return if 'Return All' is false.
  • Offset — Number of files to skip for offset-based pagination if 'Return All' is false.
  • Filters — Filtering options such as creation or modification dates, ID thresholds, fields to return, and sort order.

Output shape

a list of file objects associated with the specified task

Supports pagination with 'Return All', 'Limit', and 'Offset'. Expanded fields inline replace path references. Filters refine which files are returned. The API request is made to /tasks/{taskId}/files endpoint.

Links

Discussion