Category Filter
List All Devices
Returns a list of all enrolled devices.
Parameters | Type | Description | Default value |
---|---|---|---|
order_by | String | Optional. Order the result by device name. Use asc or desc | asc |
platform | String | Optional. Filter by OS. Use ios, android or windows | |
is_active | Boolean | Optional. Filter by active or inactive devices. Use True or False | |
device_type | String | Optional. Use smartphone or tablet | |
page | Integer | Optional | 1 |
per_page | Integer | Optional | 100 |
curl
HTTP Request:
Shell Command:
1 |
GET https://<portal>.hexnodemdm.com/api/v1/devices/?order_by=desc |
Shell Command:
1 |
curl -H "Authorization: <your API key>" "https://<portal>.hexnodemdm.com/api/v1/devices/?order_by=desc" |
HTTP Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
{ "count": 104, "next": https://<portal>.hexnodemdm.com/api/v1/devices/page=2&order_by=desc, "previous": null, "results": [ { "id" : 5, "device_name" : "motorolaXT1033", "model_name": "XT1033", "os_name": "Android", "os_version": "5.1", "enrolled_time": "2017-05-05T04:39:32.563524Z", "last_reported": "2017-05-05T08:00:07.401Z", "compliant": true, "serial_number": "TA933D15V", "enrollment_status": "enrolled", "user": { "id": "1", "name":"neil" } } , ... ] } |