Rentman icon

Rentman

Interact with the Rentman rental management API

Actions206

Accessory → Get

AI-generated

Summary

Retrieve detailed information about a specific accessory in Rentman by its ID, optionally expanding linked fields in the response.

Inputs

  • Accessory ID (required) — The unique identifier of the accessory to retrieve.
  • Expand — Comma-separated list of linked fields to inline in the response instead of returning only their paths, supporting up to 3 levels of nested expansion using dot notation.

Output shape

a single accessory object with its properties, including optional expanded linked fields if specified.

The response includes the accessory details fetched by ID. If the 'Expand' parameter is used, linked fields are inlined based on the comma-separated list provided. The output format aligns with the Rentman API's accessory object schema.

Examples

Example 1: Fetch accessory by ID without expansions

Set 'Accessory ID' to the target ID and leave 'Expand' empty.

Example 2: Fetch accessory with expanded linked equipment and its creator

Set 'Accessory ID' and 'Expand' to 'equipment,equipment.creator' to get accessory details including full equipment and creator data.

Links

Discussion