---
title: DeviceLocationResponse
framework: Device Management
role: symbol
role_heading: Device Management Command
platforms: [iOS 9.3+, iPadOS 9.3+, Mac Catalyst 9.3+]
path: devicemanagement/devicelocationresponse
---

# DeviceLocationResponse

A response from the device after it processes the command to request the location of a device when in Lost Mode.

## Declaration

```data
object DeviceLocationResponse
```

## Properties

Altitude: The altitude of the device’s location, which is a negative value if the altitude is unknown. Available: iOS 10.3+ | iPadOS 10.3+ CommandUUID: The unique identifier of the command for this response. Course: The direction the device is traveling, which is a negative value if the course is unknown. Available: iOS 10.3+ | iPadOS 10.3+ EnrollmentID: The per-enrollment identifier for the device. The system requires this value if the enrollment type is a user enrollment. Available: iOS 13+ | iPadOS 13+ | macOS 10.15+ EnrollmentUserID: The per-enrollment identifier for the user. The system requires this value if the enrollment type is a user enrollment on the user channel. Available: macOS 10.15+ ErrorChain: An array of dictionaries that describes any errors that occur. HorizontalAccuracy: The radius of uncertainty for the location in meters, which is a negative value if the horizontal accuracy is unknown. Available: iOS 10.3+ | iPadOS 10.3+ Latitude: The latitude of the device’s location. Longitude: The longitude of the device’s location. NotOnConsole: If true, the device isn’t on-console. Speed: The speed of the device in meters per second, which is a negative value if the speed is unknown. Available: iOS 10.3+ | iPadOS 10.3+ Status: The status of the response, which is one of the following values: Acknowledged: The device processed the command successfully. Error: An error occurred. See the ErrorChain for more details. CommandFormatError: A protocol error occurred, which can result from a malformed command. Idle: The device is idle; there’s no status. NotNow: The device received the command, but can’t run it. Timestamp: The RFC 3339 timestamp of when the server determines the location of the device. Available: iOS 10.3+ | iPadOS 10.3+ UDID: The device’s UDID (unique device identifier). The system requires this value if the enrollment type is a device enrollment. UserID: For macOS, this value is the ID of the user. For Shared iPad, this value is FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF to indicate that authentication doesn’t occur. UserLongName: The full name of the user. UserShortName: For macOS, this value is the short name of the user. For Shared iPad, this value is the Managed Apple Account identifier of the user on Shared iPad. It indicates that the token is for the user channel. VerticalAccuracy: The accuracy of the altitude value in meters, which is a negative value if the vertical accuracy is unknown. Available: iOS 10.3+ | iPadOS 10.3+

## Topics

### Objects

- [DeviceLocationResponse.ErrorChainItem](devicemanagement/devicelocationresponse/errorchainitem.md)

## See Also

### Commands and responses

- [DeviceLocationCommand](devicemanagement/devicelocationcommand.md)
