Device Location
Request the location of a device when in Lost Mode.
URL
PUT https://yourmdmhost.example.com/mdm#DeviceLocationCommandResponse Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/xml | DeviceLocationResponse | The response object the system returns for the Device Location Command. |
Discussion
A device responds with error codes:
12067: If it isn’t in Lost mode.12068: If its location is unknown.12078: If the command is invalid while in Lost Mode.
Refer to the following sections to determine supported channels and requirements, and to see an example request and response.
Command availability
Device channel | iOS, Shared iPad |
User channel | NA |
Requires supervision | iOS |
Allowed in user enrollment | NA |
Required access right | NA |
Example request and response
HTTP Body
The request object the server returns for the Device Location Command.