Actions206
- Accessory Actions
- Actual Content Actions
- Alternative Actions
- Appointment Actions
- Appointment Crew Actions
- Contact Actions
- Contact Person Actions
- Contract Actions
- Cost Actions
- Crew Actions
- Crew Availability Actions
- Crew Rate Actions
- Equipment Actions
- Equipment Assigned Serial Actions
- Equipment Sets Content Actions
- Extra Input Field Actions
- Factor Actions
- Factor Group Actions
- File Actions
- File Folder Actions
- Folder Actions
- Invitation Actions
- Invoice Actions
- Invoice Line Actions
- Leave Mutation Actions
- Leave Request Actions
- Leave Type Actions
- Ledger Code Actions
- Payment Actions
- Project Actions
- Project Crew Actions
- Project Equipment Actions
- Project Equipment Group Actions
- Project Function Actions
- Project Function Group Actions
- Project Request Actions
- Project Request Equipment Actions
- Project Type Actions
- Project Vehicle Actions
- Purchase Order Actions
- Purchase Order Cost Actions
- Purchase Order Global Cost Actions
- Quote Actions
- Rate Actions
- Rate Factor Actions
- Repair Actions
- Serial Number Actions
- Status Actions
- Stock Location Actions
- Stock Movement Actions
- Sub Rental Actions
- Sub Rental Equipment Actions
- Sub Rental Equipment Group Actions
- Subproject Actions
- Subtask Actions
- Supplier Actions
- Task Actions
- Task Assignment Actions
- Task Status Actions
- Tax Class Actions
- Time Registration Actions
- Time Registration Activity Actions
- Vehicle Actions
Purchase Order → Get Files
AI-generatedSummary
Retrieves the files attached to a Rentman purchase order via GET /purchaseorders/{id}/files, with optional pagination, filtering, sorting and field selection.
Inputs
- Purchase Order ID (required) — ID of the purchase order whose files are listed; inserted into the request URL.
- Return All — If true, follows next_page_url to fetch all pages; otherwise a single page is returned.
- Limit — Maximum number of results (default 50, min 1). Shown only when Return All is off.
- Offset — Number of results to skip (default 0). Shown only when Return All is off.
- Expand — Comma-separated linkable fields to inline instead of returning paths; supports dot notation up to 3 levels.
- Filters — Optional collection: created after, modified after/before, ID greater than, fields to return, sort (default +id), approval status, and supplier path. Approval status and supplier are purchase-order attributes and may not apply to file records.
- Request Options — Node settings for batching, ignoring SSL issues, proxy and timeout (default 10000 ms).
Output shape
A list of file records attached to the specified purchase order, as returned by the Rentman API.
Without Return All, only one page up to the Limit is returned. Linked fields appear as paths unless expanded. The Fields filter restricts the returned properties.
Examples
Example 1: Download-ready list of all files on a purchase order
Purchase Order ID = 123, Return All = true
Example 2: Fetch the 10 most recently modified files
Purchase Order ID = 123, Limit = 10, Filters: Sort = -modified
Example 3: Incremental sync of new files
Purchase Order ID = 123, Return All = true, Filters: Modified After = last run time