{"id":4925,"date":"2025-06-02T12:48:38","date_gmt":"2025-06-02T12:48:38","guid":{"rendered":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/?page_id=4925"},"modified":"2026-04-01T11:15:52","modified_gmt":"2026-04-01T11:15:52","slug":"list-app-data-usage-statistics","status":"publish","type":"page","link":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/reports\/list-app-data-usage-statistics\/","title":{"rendered":"List app data usage statistics"},"content":{"rendered":"<div class=\"method-copy\">\n<div class=\"method-copy-padding\">\n<h2> List app data usage statistics <\/h2>\n<p>Returns the data usage statistics of apps associated with a device. <\/p>\n<div class=\"table-responsive\">\n<table id=\"table_61516733\" width=\"100%\" class=\"table table-bordered\">\n<thead>\n<tr>\n<th width=\"15%\"> <strong>Parameter<\/strong> <\/th>\n<th width=\"12%\"> <strong>Type<\/strong> <\/th>\n<th width=\"30%\"> <strong>Description<\/strong> <\/th>\n<th width=\"30%\"> <strong>Accepted values<\/strong> <\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>range<\/td>\n<td> Integer <\/td>\n<td>Optional<\/td>\n<td>Values ranging from 1 to 30 where 1 denotes <em>today<\/em>.<\/td>\n<\/tr>\n<tr>\n<td>startdate &#038; enddate <\/td>\n<td> Integer <\/td>\n<td>Optional<\/td>\n<td>Any date of the format <strong>mmddyyyy<\/strong> with a maximum difference of 90 days between \u2018startdate\u2019 and \u2018enddate\u2019. <\/td>\n<\/tr>\n<tr>\n<td>order_by <\/td>\n<td> String <\/td>\n<td>Optional<\/td>\n<td>totalusage, wifidatausage, mobiledatausage.<\/td>\n<\/tr>\n<tr>\n<td>count<\/td>\n<td> Integer <\/td>\n<td>Optional<\/td>\n<td>Values ranging from 1 to 20.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>(<strong>Important<\/strong>: A time parameter is mandatory. Provide either <em>range<\/em>, or both <em>startdate<\/em> and <em>enddate<\/em>.)\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\">\nHTTP Request:<\/p>\n<pre class=\"lang:default decode:true\">GET https:\/\/<portal>.hexnodemdm.com\/api\/v1\/devices\/{DEVICE_ID}\/datausage\/appdatausage\/ \r\n<\/pre>\n<p>Shell Command:<\/p>\n<pre class=\"lang:default decode:true\">curl  -H \"Authorization: <your API key>\" https:\/\/<portal>.hexnodemdm.com\/api\/v1\/devices\/{DEVICE_ID}\/datausage\/appdatausage\/ \r\n<\/pre>\n<\/div>\n<\/div>\n<div class=\"code-curl code-div active-code\">\n<div class=\"method-example-part\">\nHTTP Response:<\/p>\n<pre class=\"lang:default decode:true\">\r\n{ \r\nappdatausage:[ \r\n{ \r\n\"name\":\"Google Maps\" \r\n\"Identifier\":\"com.google.maps\" \r\n\"totalusage\":\"691356\" \r\n\"wifidatausage\":\"345678\" \r\n\"mobiledatausage\":\"345678\" \r\n}, \r\n{ \r\n\"name\":\"Google Lens\" \r\n\"Identifier\":\"com.google.lens\" \r\n\"totalusage\":\"691356\" \r\n\"wifidatausage\":\"345678\" \r\n\"mobiledatausage\":\"345678\" \r\n} \r\n] \r\n} \r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>List app data usage statistics Returns the data usage statistics of apps associated with a device. Parameter Type Description Accepted values range Integer Optional Values ranging from 1 to 30 where 1 denotes today. startdate &#038; enddate Integer Optional Any date of the format mmddyyyy with a maximum difference of 90 days between \u2018startdate\u2019 and [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":4929,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-4925","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/4925","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\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/comments?post=4925"}],"version-history":[{"count":7,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/4925\/revisions"}],"predecessor-version":[{"id":5060,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/4925\/revisions\/5060"}],"up":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/4929"}],"wp:attachment":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/media?parent=4925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}