Skip to main content

Asset Schema

Schemas

Device_View

Paginated list response for GET /Asset.

PropertyTypeDescription
page_nointegerCurrent page number.
page_sizeintegerNumber of records per page.
record_countinteger (int64)Total number of matching records.
assetsarray[Device_List]Array of asset summary objects.
columns_idintegerActive column profile ID.
columns_tilehtmlstringHTML template for tile view.
columnsarray[ViewColumnsDetails]Column profile details.
xtypeunamecancreatenewarray[RT_Permission]Permissions indicating which asset types can be created.

Device

Full asset/device object used for create, update, and single-record responses.

PropertyTypeDescription
idintegerAsset ID.
inventory_numberstringAsset inventory/tag number.
key_field / key_field2 / key_field3stringPrimary identifying fields (e.g., hostname, serial number).
client_idintegerID of the owning client.
client_namestringName of the owning client.
site_idintegerSite ID.
site_namestringSite name.
assettype_idintegerAsset type ID.
assettype_namestringAsset type name.
inactivebooleanWhether the asset is inactive.
is_primary_assetbooleanWhether this is a primary asset.
parent_idintegerParent asset ID.
child_idintegerChild asset ID.
warranty_enddatetimeWarranty expiry date.
warranty_notestringWarranty notes.
supplier_idintegerSupplier ID.
supplier_namestringSupplier name.
manufacturer_idintegerManufacturer ID.
manufacturer_namestringManufacturer name.
supplier_contract_idintegerSupplier contract ID.
contract_idintegerContract ID.
contract_valuenumberContract value.
fieldsarray[FieldHelper]Built-in asset type fields.
customfieldsarray[CustomField]Custom fields for the asset type.
notesstringAsset notes.
criticalityintegerCriticality level.
service_idintegerLinked service ID.
business_owner_idintegerBusiness owner user ID.
technical_owner_idintegerTechnical owner user ID.
usernamestringAssociated username.
usersarray[Users_List]Users associated with the asset.
childrenarray[Device]Child device objects.
parent_assetsarray[Device_List]Parent asset summaries.
child_assetsarray[Device_List]Child asset summaries.
hierarchyarray[Device]Full hierarchy chain.
softwarearray[DeviceApplications]Software installed on the device.
servicesarray[ServSite_List]Linked services.
contractsarray[ContractHeader_List]Linked contracts.
bookmarkedbooleanWhether the asset is bookmarked.
open_ticket_countintegerNumber of open tickets linked to this asset.
total_ticket_countintegerTotal tickets linked to this asset.
intune_idstringMicrosoft Intune device ID.
azure_useridstringAzure AD user ID.
jamf_idintegerJAMF device ID.
prtg_idintegerPRTG sensor ID.
domotz_agentidintegerDomotz agent ID.
lansweeper_idstringLansweeper asset ID.
ateraidstringAtera agent ID.
itglue_idstringIT Glue asset ID.
dlastupdatedatetimeLast update timestamp.
guidstringAsset GUID.
os_overridestringOverride for the OS field.
phone_numberstringAssociated phone number.
item_idintegerLinked inventory item ID.
itemstock_idintegerLinked stock item ID.

DeviceChange

Audit log entry for a change made to an asset field.

PropertyTypeDescription
idinteger (int64)Change record ID.
asset_idintegerAsset that was changed.
field_idintegerID of the field that changed.
field_namestringName of the field that changed.
field_descstringDescription of the change.
old_valuestringPrevious value.
new_valuestringNew value after change.
whostringName of the user who made the change.
who_idintegerID of the user who made the change.
datetimedatetimeWhen the change occurred.
old_clientintegerPrevious client ID (if changed).
new_clientintegerNew client ID (if changed).
old_siteintegerPrevious site ID (if changed).
new_siteintegerNew site ID (if changed).
customfield_idintegerCustom field ID if a custom field changed.
software_idintegerSoftware record ID if a software change.
software_user_idintegerUser ID associated with the software change.

Licence_List

Software licence record used in list and create operations.

PropertyTypeDescription
idintegerLicence ID.
namestringLicence/product name.
typeintegerLicence type.
countintegerTotal licence seats.
consumedcountintegerConsumed licence seats.
licences_in_useintegerLicences currently in use.
licences_availableintegerLicences available.
client_idintegerOwning client ID.
client_namestringOwning client name.
site_idintegerSite ID.
site_namestringSite name.
tenant_idstringTenant ID (for M365/cloud licences).
tenant_namestringTenant name.
purchase_pricenumberPurchase price.
pricenumberCurrent price.
monthly_pricenumberMonthly price.
monthly_costnumberMonthly cost.
start_datedatetimeLicence start date.
end_datedatetimeLicence end date.
manufacturerstringLicence manufacturer/publisher.
vendorstringVendor name.
supplier_idintegerSupplier ID.
billing_cyclestringBilling cycle (e.g., monthly, annual).
term_durationstringTerm duration.
statusstringLicence status.
autorenewbooleanWhether the licence auto-renews.
is_activebooleanWhether the licence is active.
licence_rolesarray[LicenceRole]Role assignments for the licence.
configuration_itemsarray[Device_List]Devices assigned to this licence.
parent_idintegerParent licence ID.
azure_connection_idintegerLinked Azure AD connection ID.
product_skustringProduct SKU.
vendor_product_skustringVendor product SKU.
notesstringLicence notes.

LicenceInfo

Instance-level licence information (HaloPSA platform licence details).

PropertyTypeDescription
iduuidLicenceInfo record ID.
site_idintegerSite ID.
client_idintegerClient ID.
client_namestringClient name.
versionstringHaloPSA version.
apiurlstringAPI URL for this instance.
organisationnamestringOrganisation name.
is_trialbooleanWhether this is a trial instance.
support_typeintegerSupport type.
trialexpirydatetimeTrial expiry date.
registrationdatedatetimeRegistration date.