Rentman icon

Rentman

Interact with the Rentman rental management API

Actions206

Cost → Get Collection

AI-generated

Summary

Retrieve multiple cost records from Rentman with optional filtering, sorting, pagination, and expansion of related linked fields.

Inputs

  • Expand — Comma-separated list of linkable fields to inline in the response instead of returning just a path. Supports dot notation for nested expansion up to 3 levels (e.g. equipment,equipment.creator). Only item/link fields can be expanded.
  • Return All — Whether to return all cost records or limit to a specified number.
  • Limit — Maximum number of cost records to return when Return All is false. Defaults to 50.
  • Offset — Number of records to skip for offset-based pagination. Defaults to 0.
  • Filters — Optional filters to narrow results, including created after date, modified after/before dates, ID greater than a value, fields to return, and sorting with direction.
  • Custom Query Parameters — Additional key-value pairs for querying with field-value filtering or relational operators (e.g., country=nl or modified[gt]=2024-01-01).

Output shape

a list of cost records matching the query parameters, potentially expanded with linked fields inline

Supports pagination via limit and offset or via Return All option; fields returned can be restricted; linked fields can be expanded up to 3 levels; errors returned per standard node error handling.

Examples

Example 1: Retrieve up to 20 cost records created after 2023-01-01, sorted descending by modification date, including expanded equipment and equipment.creator data fields.

Set Filters: Created After=2023-01-01, Sort=-modified; Limit=20; Expand=equipment,equipment.creator; Return All=false

Links

Discussion