Category Filter
List Device Locations
Returns a list of the reported locations of the device.
Parameters | Type | Description | Default value |
---|---|---|---|
page | Integer | Optional | 1 |
per_page | Integer | Optional | 100 |
curl
HTTP Request:
Shell Command:
1 |
GET https://<portal>.hexnodemdm.com/api/v1/devices/{DEVICE_ID}/locations/?page=1 |
Shell Command:
1 |
curl -H "Authorization: <your API key>" "https://<portal>.hexnodemdm.com/api/v1/devices/{DEVICE_ID}/locations/?page=1" |
HTTP Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
{ "count":1238, "next":"https://<portal>.hexnodemdm.com/api/v1/devices/{DEVICE_ID}/locations/?page=2" "previous":null, "results": [ { "long_name": "Wynnum Rd at Bulimba Creek", "reported_time": “2017-04-17T12:43:28.302Z'', "latitude": "-27.4797261951427", "longitude": "153.109797270424" }, ... ] } |