Asset Types (Itemtypes)
The following asset types are available:Computer- Desktop computers, laptops, serversMonitor- Display monitorsNetworkEquipment- Switches, routers, firewallsPeripheral- External devices (keyboards, mice, etc.)Phone- Desk phones and VoIP devicesPrinter- Printers and multifunction devicesSoftwareLicense- Software licensesCartridgeItem- Printer cartridgesConsumableItem- Consumable items
Computer Object
A computer asset contains these key fields:Unique computer identifier
Computer name/hostname
Serial number
Inventory number or other serial
Entity ID to which the computer belongs
Physical location ID
Manufacturer ID (e.g., Dell, HP, Lenovo)
Computer model ID
Computer type ID (Desktop, Laptop, Server)
User ID of the computer owner
Technician responsible for this computer
State ID (In use, In stock, etc.)
System UUID
Asset creation date
Last modification date
Whether the computer is in trash
Whether the computer is managed by inventory agent
Get an Asset
Retrieve a specific asset by ID.cURL
Additional Data Options
For Computer, NetworkEquipment, Peripheral, Phone, and Printer assets, you can retrieve additional associated data:Retrieve associated hardware components (processors, memory, disk drives, etc.)
Retrieve associated file systems and partitions (Computer only)
Retrieve installed software (Computer only)
Retrieve directly connected peripherals and printers (Computer only)
Retrieve network ports and connections
Retrieve financial and administrative information
Retrieve associated contracts
Retrieve associated documents
Retrieve associated tickets
Retrieve change history
Response Example
Get All Assets
Retrieve a list of assets with pagination.cURL
Pagination range (e.g.,
0-49 for first 50 items)Field ID to sort by
Sort order:
ASC or DESCCreate an Asset
Add a new asset to the inventory.cURL
Bulk Creation
You can create multiple assets in one request:cURL
Update an Asset
Update existing asset information.cURL
Delete an Asset
Move an asset to trash or permanently delete it.cURL
If
true, permanently delete the asset. If false, move to trash.Search Assets
Search for assets using specific criteria.cURL
Common Use Cases
Get computer with all details
Get computer with all details
Retrieve a computer with all associated data:
Find all laptops in a specific location
Find all laptops in a specific location
Update multiple assets at once
Update multiple assets at once
Financial Information (Infocoms)
Assets can have associated financial information:cURL
- Purchase date and price
- Warranty information
- Order number and delivery information
- Supplier details
- Budget allocation
Financial information is stored in the
Infocom itemtype and linked to assets.Best Practices
Use Serial Numbers
Always populate serial numbers for unique asset identification and inventory tracking.
Leverage Auto-Inventory
Use GLPI Agent for automatic inventory updates (sets
is_dynamic=1).Link to Users
Assign assets to users for accountability and asset tracking.
Use Locations
Always specify location for physical asset tracking and management.