GET v1/core/accounts/{accId}/reports/devices/usage/top?fromDate={fromDate}&toDate={toDate}&top={top}
top usage report
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| accId |
Define this parameter in the request URI. |
|
| fromDate |
Define this parameter in the request URI. |
|
| toDate |
Define this parameter in the request URI. |
|
| top |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"Success": true,
"Data": [
{
"Number": "sample string 1",
"Name": "sample string 2",
"UpstreamBytes": 3,
"DownstreamBytes": 4
},
{
"Number": "sample string 1",
"Name": "sample string 2",
"UpstreamBytes": 3,
"DownstreamBytes": 4
},
{
"Number": "sample string 1",
"Name": "sample string 2",
"UpstreamBytes": 3,
"DownstreamBytes": 4
}
],
"ErrorCode": 2,
"ErrorDescription": "sample string 3",
"Meta": "sample string 4"
}
text/javascript
Sample:
{"Success":true,"Data":[{"Number":"sample string 1","Name":"sample string 2","UpstreamBytes":3,"DownstreamBytes":4},{"Number":"sample string 1","Name":"sample string 2","UpstreamBytes":3,"DownstreamBytes":4},{"Number":"sample string 1","Name":"sample string 2","UpstreamBytes":3,"DownstreamBytes":4}],"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}
application/xml, text/xml
Sample:
<PBNBReturnOfArrayOfMobileThroughputicMOY6xO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/pbnb_models.Reports">
<d2p1:MobileThroughput>
<d2p1:DownstreamBytes>4</d2p1:DownstreamBytes>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Number>sample string 1</d2p1:Number>
<d2p1:UpstreamBytes>3</d2p1:UpstreamBytes>
</d2p1:MobileThroughput>
<d2p1:MobileThroughput>
<d2p1:DownstreamBytes>4</d2p1:DownstreamBytes>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Number>sample string 1</d2p1:Number>
<d2p1:UpstreamBytes>3</d2p1:UpstreamBytes>
</d2p1:MobileThroughput>
<d2p1:MobileThroughput>
<d2p1:DownstreamBytes>4</d2p1:DownstreamBytes>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Number>sample string 1</d2p1:Number>
<d2p1:UpstreamBytes>3</d2p1:UpstreamBytes>
</d2p1:MobileThroughput>
</Data>
<ErrorCode>2</ErrorCode>
<ErrorDescription>sample string 3</ErrorDescription>
<Meta>sample string 4</Meta>
<Success>true</Success>
</PBNBReturnOfArrayOfMobileThroughputicMOY6xO>
application/bson
Sample:
� Success Data O 0 k Number sample string 1 Name sample string 2 UpstreamBytes DownstreamBytes 1 k Number sample string 1 Name sample string 2 UpstreamBytes DownstreamBytes 2 k Number sample string 1 Name sample string 2 UpstreamBytes DownstreamBytes ErrorCode ErrorDescription sample string 3 Meta sample string 4