Rentman icon

Rentman

Interact with the Rentman rental management API

Actions206

Ledger Code → Get

AI-generated

Summary

Retrieve a single ledger code from Rentman by its ID, optionally expanding related linked fields inline in the response.

Inputs

  • Ledger Code ID (required) — The unique identifier of the ledger code to retrieve.
  • Expand — A comma-separated list of linked fields to expand inline within the returned ledger code object. Supports dot notation for nested expansions up to three levels (e.g., equipment,equipment.creator). Only links to other items can be expanded.

Output shape

a single ledger code object corresponding to the specified ID, including optionally expanded linked fields.

Supports query string expansion of related linked resources to include additional details inline rather than as URLs.

Examples

Example 1: Fetch ledger code '12345' with expanded equipment and its creator details.

Set Ledger Code ID to 12345. Set Expand to 'equipment,equipment.creator'.

Links

Discussion