Category Filter
List data usage statistics
Returns the data usage statistics associated with a device.
Parameter | Type | Description | Accepted values |
---|---|---|---|
range | Integer | Optional | Values ranging from 1 to 30 where 1 denotes today. |
startdate & enddate | Integer | Optional | Any date of the format mmddyyyy with a maximum difference of 90 days between ‘startdate’ and ‘enddate’. |
curl
HTTP Request:
Shell Command:
1 |
GET https://<portal>.hexnodemdm.com/api/v1/devices/{DEVICE_ID}/datausage/datausagestatistics |
Shell Command:
1 |
curl -H "Authorization: <your API key>" https://<portal>.hexnodemdm.com/api/v1/devices/{DEVICE_ID}/datausage/datausagestatistics |
HTTP Response:
1 2 3 4 5 6 7 8 9 |
{ "datausagestatistics": [ "total_usage":897098 "wifi_usage":83649 "mobile_data_usage":67890 "other_usage":67890 ] } |