Skip to main content

Get Device

Returns device details.

External Documentation

To learn more, visit the NinjaOne documentation.

Parameters

ParameterDescription
Device IDDevice identifier.

Example Output

{
"approvalStatus": "Approval Status",
"created": 0,
"deviceType": "string",
"displayName": "Display Name",
"dnsName": "DNS Name",
"fields": {},
"id": 0,
"ipAddresses": [
"Device IP addresses"
],
"lastContact": 0,
"lastUpdate": 0,
"locationId": 0,
"macAddresses": [
"Device MAC addresses"
],
"maintenance": {
"end": 0,
"start": 0,
"status": "Maintenance mode status"
},
"netbiosName": "NETBIOS Name",
"nodeClass": "Node Class",
"nodeRoleId": 0,
"notes": [
{
"text": "Note text"
}
],
"offline": false,
"organizationId": 0,
"parentDeviceId": 0,
"policyId": 0,
"publicIP": "Device Public IP Address",
"references": {
"backupUsage": {
"cloudFileFolderSize": 0,
"cloudImageSize": 0,
"cloudTotalSize": 0,
"localFileFolderSize": 0,
"localImageSize": 0,
"localTotalSize": 0,
"revisionsCurrentSize": 0,
"revisionsDeletedSize": 0,
"revisionsPreviousSize": 0,
"revisionsTotalSize": 0
},
"location": {
"address": "Address",
"description": "Description",
"fields": {},
"id": 0,
"name": "Location name",
"tags": [
"Tags"
],
"userData": {}
},
"organization": {
"description": "Organization Description",
"fields": {},
"id": 0,
"name": "Organization full name",
"nodeApprovalMode": "Device Approval Mode",
"tags": [
"Tags"
],
"userData": {}
},
"policy": {
"description": "Description",
"fields": {},
"id": 0,
"name": "Name",
"nodeClass": "Node Class",
"nodeClassDefault": false,
"parentPolicyId": 0,
"tags": [
"Tags"
],
"updated": 0
},
"role": {
"chassisType": "Chassis Type",
"created": 0,
"custom": false,
"description": "Description",
"fields": {},
"id": 0,
"name": "Name",
"nodeClass": "Node Class",
"tags": [
"Tags"
]
},
"rolePolicy": {
"description": "Description",
"fields": {},
"id": 0,
"name": "Name",
"nodeClass": "Node Class",
"nodeClassDefault": false,
"parentPolicyId": 0,
"tags": [
"Tags"
],
"updated": 0
}
},
"rolePolicyId": 0,
"systemName": "System Name",
"tags": [
"Tags"
],
"userData": {}
}

Workflow Library Example

Get Device with Ninjaone and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop