Actions34
- Administration Actions
- Components Actions
- Dropdowns Actions
- Management Actions
- Project Actions
- Rule Actions
- Session Actions
- Assistance Actions
- Assets Actions
Dropdowns → Get
AI-generatedSummary
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