GLPI Rest API V2 icon

GLPI Rest API V2

GLPI Rest API Node compatible with GLPI 9.x and above.

Asset Management → Get an Asset

AI-generated

Summary

Retrieve asset data from GLPI by item type and optional identifier.

Inputs

  • itemtype (required) — Type of asset to retrieve or filter by.
  • itemId — ID of the asset to retrieve. Leave empty to get all assets of the selected type.

Output shape

The GLPI API response as JSON, containing the asset data. If itemId is provided, returns the single asset matching that ID; otherwise returns all assets of the specified item type.

Uses the bundled execute implementation which makes a GET request to ${host}/api.php/v2.1/{itemtype}[/{itemId}] with an authenticated Session-Token header. The itemId parameter is optional; when omitted or set to the default 0, the operation fetches all assets of the selected type.

Discussion