{"id":3646,"date":"2018-10-16T10:38:26","date_gmt":"2018-10-16T10:38:26","guid":{"rendered":"http:\/\/34.238.172.127\/?page_id=11"},"modified":"2025-10-28T03:16:06","modified_gmt":"2025-10-28T03:16:06","slug":"retrieve-device-details","status":"publish","type":"page","link":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/devices\/retrieve-device-details\/","title":{"rendered":"Retrieve Device Details"},"content":{"rendered":"<div class=\"method-copy\">\n<div class=\"method-copy-padding\">\n<h2>Retrieve Device Details<\/h2>\n<p>Get the complete details about a specific device.<\/p>\n<\/div>\n<\/div>\n<div class=\"method-example\">\n<div class=\"curl-text\">curl<\/div>\n<div class=\"code-curl code-div active-code\">\n<div class=\"method-example-part\">\n<p>HTTP Request:<\/p>\n<pre class=\"lang:default decode:true\">GET https:\/\/.hexnodemdm.com\/api\/v1\/devices\/{DEVICE_ID}\/\r\n<\/pre>\n<p>Shell Command:<\/p>\n<pre class=\"lang:default decode:true\">curl -H \"Authorization: \" https:\/\/.hexnodemdm.com\/api\/v1\/devices\/{DEVICE_ID}\/\r\n<\/pre>\n<\/div>\n<\/div>\n<div class=\"code-curl code-div active-code\">\n<div class=\"method-example-part\">\n<p>HTTP Response:<\/p>\n<pre class=\"lang:default decode:true\">{  \r\n\"id\": 1, \r\n\"udid\": \"822b365f06614569\", \r\n\"platform\": \"iOS\", \r\n\"enrollment_status\": \"enrolled\", \r\n\"enrolled_time\": \"2017-04-10T06:06:02.076000Z\", \r\n\"agent_active\": true, \r\n\"lastreported\": \"2017-04-10T06:06:02.076000Z\", \r\n\"lastscanned\": \"2017-04-10T06:06:02.076000Z\", \r\n\"lastnotified\": \"2017-04-10T06:06:02.076000Z\", \r\n\"remarks\": \"successfully enrolled\", \r\n\"disenrolled_time\": null, \r\n\"location_tracking_disabled\": true, \r\n\"location_tracking_interval\": 60, \r\n\"lostmode\": false, \r\n\"last_location\": \"Wynnum Rd at Bulimba Creek\", \r\n\"latitude\": \"-27.4797261951427\", \r\n\"longitude\": \"153.109797270424\", \r\n\"last_location_time\": \"2017-04-10T06:06:02.076000Z\" \r\n\"user\": { \r\n\"id\": 1, \r\n\"name\": \"neil\", \r\n\"email\": \"neil@hexnode.com\", \r\n\"phoneno\": null, \r\n\"alternate_email\": null \r\n}, \r\n\"device\" : { \r\n\"device_name\": \" ipad\", \r\n\"description\": \"neils ipad\", \r\n\"os_version\": \"9.12\", \r\n\"os_name\": \"ios\", \r\n\"build_version\": \"32.3.A.0.376\", \r\n\"model_name\": \"iPhone 4S\", \r\n\"model\": \"MF266HN\", \r\n\"product_name\": \"iPhone4,1\", \r\n\"device_type\": \"smartphone\", \r\n\"manufacture\": \"Apple Inc\", \r\n\"serial_number\": \"CB5A2628BK\", \r\n\"device_capacity\": 27.1856803894043, \r\n\"available_device_capacity\": 25.5329742431641, \r\n\"used_device_capacity\": 1.65270614624023, \r\n\"battery_level\": 44.999998807907, \r\n\"imei_1\": \"01 353200 983934 8\",\r\n\"imei_2\" : \"456456456456\",\r\n\"phoneno_1\" : \"1234567890\",\r\n\"phoneno_2\" : \"1234567890\",\r\n\"modem_firmware_version\": \"5.2.00\", \r\n\"is_supervised\": false, \r\n\"is_kiosk\":false,\r\n} \r\n\"applications\":[  \r\n{   \r\n\"id\":1,   \r\n\"name\": \"Apple Music\",  \r\n\"bundle_size\": 3371031,  \r\n\"version\": \"1.3\",  \r\n\"black_listed\":false,   \r\n\"managed\": true,  \r\n\"status\": \"Installed\" \r\n}, \r\n{ \r\n\"id\": 2, \r\n\"name\": \"Maps\", \r\n\"bundle_size\": null, \r\n\"version\": \"9.49.2\", \r\n\"black_listed\": false, \r\n\"managed\": false, \r\n\"status\": \"Installed\" \r\n} \r\n],   \r\n\"policies\":[  \r\n{   \r\n\"id\":4,   \r\n\"name\": \"ios policy\",  \r\n\"version\": 4  \r\n}\r\n],   \r\n\"location_history\":[  \r\n{  \r\n\"long_name\": \"Wynnum Rd at Bulimba Creek\",  \r\n\"reported_time\": \u201c2017-04-17T12:43:28.302Z'',  \r\n\"latitude\": \"-27.4797261951427\",   \r\n\"longitude\": \"153.109797270424\"  \r\n}, \r\n...h2 \r\n]\r\n\"asset_tag\":\"finance\",\r\n\"device_notes\":\"neil\u2019s finance iPad\u201d\r\n}\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Retrieve Device Details Get the complete details about a specific device. curl HTTP Request: GET https:\/\/.hexnodemdm.com\/api\/v1\/devices\/{DEVICE_ID}\/ Shell Command: curl -H &#8220;Authorization: &#8221; https:\/\/.hexnodemdm.com\/api\/v1\/devices\/{DEVICE_ID}\/ HTTP Response: { &#8220;id&#8221;: 1, &#8220;udid&#8221;: &#8220;822b365f06614569&#8221;, &#8220;platform&#8221;: &#8220;iOS&#8221;, &#8220;enrollment_status&#8221;: &#8220;enrolled&#8221;, &#8220;enrolled_time&#8221;: &#8220;2017-04-10T06:06:02.076000Z&#8221;, &#8220;agent_active&#8221;: true, &#8220;lastreported&#8221;: &#8220;2017-04-10T06:06:02.076000Z&#8221;, &#8220;lastscanned&#8221;: &#8220;2017-04-10T06:06:02.076000Z&#8221;, &#8220;lastnotified&#8221;: &#8220;2017-04-10T06:06:02.076000Z&#8221;, &#8220;remarks&#8221;: &#8220;successfully enrolled&#8221;, &#8220;disenrolled_time&#8221;: null, &#8220;location_tracking_disabled&#8221;: true, &#8220;location_tracking_interval&#8221;: 60, &#8220;lostmode&#8221;: false, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3644,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"inner.php","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-3646","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/comments?post=3646"}],"version-history":[{"count":16,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3646\/revisions"}],"predecessor-version":[{"id":4946,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3646\/revisions\/4946"}],"up":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3644"}],"wp:attachment":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/media?parent=3646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}