List Categories
integer
default:"50"
Number of results to return
integer
default:"0"
Offset for pagination
string
Search string to filter results
string
default:"assets_count"
Column to sort by. Allowed values:
id, name, category_type, use_default_eula, eula_text, require_acceptance, checkin_email, assets_count, accessories_count, consumables_count, components_count, licenses_countstring
default:"desc"
Sort order:
asc or descstring
Filter by category type:
asset, accessory, consumable, component, licenseinteger
Total number of categories
array
Array of category objects
Get Category by ID
integer
required
The category ID
Create Category
string
required
Category name
string
required
Type of category. Allowed values:
asset, accessory, consumable, component, licensestring
EULA text for this category
boolean
default:"false"
Whether to use the default EULA from settings
boolean
default:"false"
Whether user acceptance is required when checking out items in this category
boolean
default:"false"
Whether to send email notification on checkin
string
Category notes
string
Base64 encoded image or image file
Update Category
integer
required
The category ID
Delete Category
integer
required
The category ID
A category cannot be deleted if it has associated items. You must first reassign or delete all assets, accessories, consumables, components, or licenses in this category.
