Get Business Usage
Retrieve the business usage statistics for a given month. The date should be specified in YYYY-MM format.
Request
Request-Line
GET /waap/v1.0/businessUsage?month={month} HTTP/1.1
Request Parameters
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| month | String | Mandatory | The month to query in YYYY-MM format (e.g., 2025-07). |
Response
Response Body
| Parameter | Type | Required | Description |
|---|---|---|---|
| Array | Mandatory | Array of Business Usage. |
Object: Business Usage
| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | Integer | Mandatory | The ID of the customer. |
| domain | String | Mandatory | The domain name being analyzed. |
| time | String | Mandatory | The time of usage data in YYYY-MM format. |
| volume | Integer | Mandatory | Total data volume used (in Bytes). |
| bandwidth | Float | Mandatory | Maximum bandwidth used (in bps). |
| rps | Float | Mandatory | Average requests per second (RPS). |
Status Codes, Error Codes and Error Messages
| Status Code | Error Code | Error Message |
|---|---|---|
| 400 | Month.Invalid | Month is empty or invalid. |
Examples
Get Business Usage
Request
GET /waap/v1.0/businessUsage?month=2025-07 HTTP/1.1
Successful Response Body
[
{
"customerId": 36180,
"domain": "dvwa.test0625.com",
"time": "2025-07",
"volume": 31840660,
"bandwidth": 115335.49,
"rps": 0.87
},
{
"customerId": 36180,
"domain": "test0508-1.testing.com",
"time": "2025-07",
"volume": 2396179,
"bandwidth": 21435.81,
"rps": 0.1
}
]