GLPI Rest API V2 icon

GLPI Rest API V2

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

Assistance Management → Get an Assistance Management Item

AI-generated

Summary

Retrieve ITIL objects (Ticket, Change, or Problem) from GLPI by type and optional ID. Returns all objects of the selected type if itemId is 0 or empty.

Inputs

  • itemtype (required) — Type of Assistance Management item to retrieve
  • itemId — ID of the ITIL object to retrieve. Use 0 or leave empty to fetch all objects of the selected type

Output shape

raw GLPI API v2.1 GET response representing the requested ITIL object or list of objects

If itemId is 0 or omitted, the GLPI API returns all objects of the selected itemtype.

Examples

Example 1: Fetch all tickets

itemtype: Ticket, itemId: 0 (or omit)

Example 2: Fetch a single ticket by ID

itemtype: Ticket, itemId: 123

Discussion