Search Knowledge Base by Keyword
Asset Types
Endpoints for getting Asset Type information. Endpoints include:
assetTypes | Get a list of all asset types. | |
assetTypes/{assetTypeId} | Get a list of all fields for a specific asset type. |
assetTypes Get a list of all asset types in alphabetical order. No additional variables beyond the Bearer Token are required.
URL: https://webroot/api/v1/assetTypes
Parameters
Name | Description |
Authorization string (header)
|
Default value: Bearer {token}
|
Responses
Code | Description |
200
|
Example Value |
application/json | |
[ { "id": 55, "name": "AD Group", "label": "ad_group", "function": "Asset" }, { "id": 22, "name": "Application", "label": "application", "function": "Asset" }, { "id": 20, "name": "Computer", "label": "computer", "function": "Asset" }, { "id": 51, "name": "Hosted App", "label": "hosted_app", "function": "Asset" }, { "id": 102, "name": "Mailbox", "label": "mailbox", "function": "Asset" }, { "id": 89, "name": "Mobile Device", "label": "mobile_device", "function": "Asset" }, { "id": 63, "name": "SCCM Collection", "label": "sccm_collection", "function": "Asset" }, { "id": 62, "name": "SCCM Package", "label": "sccm_package", "function": "Asset" }, { "id": 21, "name": "User", "label": "user", "function": "Asset" }, { "id": 14, "name": "App Category", "label": "app_category", "function": "List" }, { "id": 156, "name": "App OS Platform", "label": "app_os_platform", "function": "List" }, { "id": 13, "name": "App Package", "label": "app_package", "function": "List" }, { "id": 5, "name": "App Package Status", "label": "app_package_status", "function": "List" }, { "id": 155, "name": "App Package Type", "label": "app_package_type", "function": "List" }, { "id": 1, "name": "App Status", "label": "app_status", "function": "List" }, { "id": 120, "name": "App Survey Status", "label": "app_survey_status", "function": "List" }, { "id": 39, "name": "App Type", "label": "app_type", "function": "List" }, { "id": 93, "name": "BIOS Version", "label": "bios_version", "function": "List" }, { "id": 2, "name": "Business Unit", "label": "business_unit", "function": "List" }, { "id": 29, "name": "Category", "label": "category", "function": "List" }, { "id": 35, "name": "Central Build Site", "label": "central_build_site", "function": "List" }, { "id": 8, "name": "Computer Model", "label": "computer_model", "function": "List" }, { "id": 11, "name": "Computer Type", "label": "computer_type", "function": "List" }, { "id": 7, "name": "Contact", "label": "contact", "function": "List" }, { "id": 3, "name": "Department", "label": "department", "function": "List" }, { "id": 30, "name": "Deployment Type", "label": "deployment_type", "function": "List" }, { "id": 90, "name": "Device Model", "label": "device_model", "function": "List" }, { "id": 165, "name": "Device Refresh Status", "label": "device_refresh_status", "function": "List" }, { "id": 91, "name": "Device Type", "label": "device_type", "function": "List" }, { "id": 36, "name": "Domain", "label": "domain", "function": "List" }, { "id": 56, "name": "Group Type", "label": "group_type", "function": "List" }, { "id": 41, "name": "In Scope", "label": "in_scope", "function": "List" }, { "id": 129, "name": "Info Classification", "label": "info_classification", "function": "List" }, { "id": 135, "name": "Language", "label": "language", "function": "List" }, { "id": 48, "name": "License Model", "label": "license_model", "function": "List" }, { "id": 137, "name": "License Type", "label": "license_type", "function": "List" }, { "id": 15, "name": "Licensed Product", "label": "licensed_product", "function": "List" }, { "id": 6, "name": "Location", "label": "location", "function": "List" }, { "id": 10, "name": "Manufacturer", "label": "manufacturer", "function": "List" }, { "id": 4, "name": "Migration Status", "label": "migration_status", "function": "List" }, { "id": 12, "name": "Operating System", "label": "operating_system", "function": "List" }, { "id": 34, "name": "Operational Status", "label": "operational_status", "function": "List" }, { "id": 95, "name": "OS Build", "label": "os_build", "function": "List" }, { "id": 96, "name": "OS Version", "label": "os_version", "function": "List" }, { "id": 124, "name": "Platform", "label": "platform", "function": "List" }, { "id": 168, "name": "Refresh Rollup Status", "label": "refresh_rollup_status", "function": "List" }, { "id": 92, "name": "Refresh Status", "label": "refresh_status", "function": "List" }, { "id": 122, "name": "Region", "label": "region", "function": "List" }, { "id": 65, "name": "State", "label": "state", "function": "List" }, { "id": 37, "name": "Status Rollup", "label": "status_rollup", "function": "List" } ] |
|
Model |
|
Headers
Name | Type |
Date | string |
Server | string |
X-Powered-By | string |
Set-Cookie | string |
Expires | string |
Cache-Control | string |
Pragma | string |
Content-Length | string |
Keep-Alive | string |
Connection | string |
assetTypes/{assetTypeId} Get a list of all fields for a specific asset type. The endpoint requires an assetTypeId variable.
URL: https://webroot/api/v1/assetTypes/{assetTypeId}
- assetTypeId = Integer
Example: https://webroot/api/v1/assetTypes/55
Parameters
Name | Description |
Authorization string (header)
|
Default value: Bearer {token}
|
Responses
Code | Description |
200
|
Example Value |
application/json | |
{ "id": 55, "name": "AD Group", "function": "Asset", "icon_color": null, "parent_id": "110", "group_id": null, "label": "ad_group", "fields": [ { "name": "name", "description": "AD Group Name", "type": "text", "required": true, "maxLength": "384", "alias_info": [] }, { "name": "samaccountname", "description": "SamAccountName", "type": "text", "required": false, "maxLength": "256", "alias_info": [] }, { "name": "group_type__lu", "description": "Group Type", "type": "lookup", "required": false, "maxLength": "385", "alias_info": [] }, { "name": "description", "description": "Description", "type": "multi", "required": false, "maxLength": 8192, "alias_info": [] }, { "name": "domain__lu", "description": "Domain", "type": "lookup", "required": false, "maxLength": "385", "alias_info": [] }, { "name": "email", "description": "Email", "type": "text", "required": false, "maxLength": "256", "alias_info": [] }, { "name": "managed_by", "description": "Managed By", "type": "text", "required": false, "maxLength": "256", "alias_info": [] }, { "name": "common_name", "description": "Common Name", "type": "text", "required": false, "maxLength": "256", "alias_info": [] }, { "name": "in_ad", "description": "In AD", "type": "checkbox", "required": false, "allowedValues": [ "YES", "NO" ] }, { "name": "orchestration", "description": "Orchestration?", "type": "checkbox", "required": false, "allowedValues": [ "YES", "NO" ] } ] } |
|
Model |
|
Headers
Name | Type |
Date | string |
Server | string |
X-Powered-By | string |
Set-Cookie | string |
Expires | string |
Cache-Control | string |
Pragma | string |
Content-Length | string |
Keep-Alive | string |
Connection | string |