GLPI Rest API V2 icon

GLPI Rest API V2

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

Setup Management → Get

AI-generated

Summary

Retrieve a specific item by its ID from the Setup Management resource.

Inputs

  • itemType (required) — Type of item to retrieve from the Setup Management resource. Defaults to AssetDefinition if not specified. Select from the provided dropdown of GLPI item types such as AssetDefinition, CronTask, DeviceBattery, etc.
  • itemId (required) — Numeric ID of the specific item to retrieve. Defaults to 0 if not provided.

Output shape

object

The raw JSON response returned by the GLPI REST API endpoint GET /api.php/v2.1/{itemType}/{itemId}, including a Session-Token header for authentication.

Examples

Example 1: Fetch a device by ID

Set itemType to 'DeviceHardware' and itemId to 42 to retrieve details of the hardware device with ID 42 from GLPI.

Discussion