Contents

Device

A device’s properties and their values.

Declaration

object Device

Properties

NameTypeDescription
asset_tagstring

The device’s asset tag.

colorstring

The color of the device.

descriptionstring

A description of the device.

device_assigned_bystring

The email of the person who assigned the device.

device_assigned_datestring

A time stamp in ISO 8601 format that indicates when the device was assigned to the MDM server.

device_familystring

The device’s Apple product family: iPad, iPhone, iPod, Mac, AppleTV, or Vision. This key is valid in X-Server-Protocol-Version 2 and later.

mdm_migration_deadlinestring

A time stamp in ISO 8601 format that indicates the MDM migration deadline. This key is valid with X-Server-Protocol-Version 8 and later.

modelstring

The model name.

op_datestring

A time stamp in ISO 8601 format that indicates when the device was added, updated, or deleted. If the value of op_type is added, this is the same as device_assigned_date. This field is only applicable with the Sync the List of Devices command.

op_typestring

Indicates whether the device was added (assigned to the MDM server), modified, or deleted. Contains one of the following strings: added, modified, or deleted.This field is only applicable with the sync the list of devices command.

osstring

The device’s operating system: iOS, iPadOS, OSX, tvOS, or visionOS.

This key is valid in X-Server-Protocol-Version 2 and later.

With X-Server-Protocol-Version 7 and later, iPad product os will return iPadOS.

profile_assign_timestring

A time stamp in ISO 8601 format that indicates when a profile was assigned to the device.

profile_push_timestring

A time stamp in ISO 8601 format that indicates when a profile was pushed to the device.

profile_statusstring

The status of profile installation—either empty, assigned, pushed, or removed.

profile_uuidstring

The unique ID of the assigned profile.

serial_numberstring

The device’s serial number.

See Also

Objects and Data Types