GLPI Rest API V2 (Fork) icon

GLPI Rest API V2 (Fork)

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

Actions34

Dropdowns → Get

AI-generated

Summary

Retrieves a single dropdown entry or lists all entries of a specified dropdown type (Calendar, Location, Manufacturer, or State) from GLPI.

Inputs

  • showCredentials — If enabled, outputs the configured credentials and skips the API request.
  • dropdownType (required) — Select the type of dropdown to retrieve (Calendar, Location, Manufacturer, or State).
  • entryId — ID of the specific dropdown entry to retrieve. Leave empty to list all entries.

Output shape

a list of items (one per entry) containing the dropdown data

When entryId is provided, returns a single item. Returns a list when entryId is empty or zero.

Examples

Example 1: List all locations

dropdownType: Location, entryId: 0

Example 2: Get a specific manufacturer by ID

dropdownType: Manufacturer, entryId: 123

Example 3: List all states

dropdownType: State, entryId: 0

Links

Discussion