get listing
GET /api/rest/customer/v1/termination-statistics
Parameters
| Name |
Description |
|
account-id
|
Account-id
|
|
from-time
|
From-time
|
|
sampling
|
Sampling
|
|
to-time
|
To-time
|
|
src-country-id
|
Src-country-id
|
|
dst-country-id
|
Dst-country-id
|
|
src-prefix-routing-eq
|
Src-prefix-routing-eq
|
|
src-prefix-routing-starts-with
|
Src-prefix-routing-starts-with
|
|
src-prefix-routing-ends-with
|
Src-prefix-routing-ends-with
|
|
src-prefix-routing-contains
|
Src-prefix-routing-contains
|
|
dst-prefix-routing-eq
|
Dst-prefix-routing-eq
|
|
dst-prefix-routing-starts-with
|
Dst-prefix-routing-starts-with
|
|
dst-prefix-routing-ends-with
|
Dst-prefix-routing-ends-with
|
|
dst-prefix-routing-contains
|
Dst-prefix-routing-contains
|
|
duration-eq
|
Duration-eq
|
|
duration-gt
|
Duration-gt
|
|
duration-lt
|
Duration-lt
|
|
vendor-price-eq
|
Vendor-price-eq
|
|
vendor-price-gt
|
Vendor-price-gt
|
|
vendor-price-lt
|
Vendor-price-lt
|
Request
Headers
Route
GET /api/rest/customer/v1/termination-statistics?account-id=07f1bfe8-e7d9-11f0-932e-0a63caf27539&from-time=2026-01-01T12%3A46%3A17Z&sampling=minute
Query Parameters
account-id: 07f1bfe8-e7d9-11f0-932e-0a63caf27539
from-time: 2026-01-01T12:46:17Z
sampling: minute
Response
Headers
Status
200 OK
Body
{
"data": {
"t": [
1734700000,
1734700060,
1734700120
],
"total_calls": [
150,
120,
180
],
"successful_calls": [
130,
100,
150
],
"failed_calls": [
20,
20,
30
],
"total_duration": [
"650.5",
"480.0",
"720.0"
],
"acd": [
"5.0",
"4.8",
"4.8"
],
"asr": [
"86.67",
"83.33",
"83.33"
],
"total_price": [
"45.25",
"32.5",
"48.0"
]
},
"rows": 3,
"totals": {
"t": 0,
"total_calls": 450,
"successful_calls": 380,
"failed_calls": 70,
"total_duration": "1850.5",
"acd": "4.87",
"asr": "84.44",
"total_price": "125.75"
}
}