Get meta by days
GET/system/statistics/meta-by-days
JSON-RPC
system.statistics.get_meta_by_days
The method returns meta information about the statistic packages grouped by days.
-
General daily package information
table_prefix
- table prefixdate
- respective date in UTC timezoneversion
- version of the packageis_actual
- flag indicating if the package is up to dateis_mounted
- flag indicating if the package is mounted to statisticsis_archived
- flag indicating if the package is already archivedlast_xdrs_append
- last date of xDRs creation in the packagelast_update
- last modification of the package (including append of new xDRs, rating or rerating)last_archive
- last archive date of the packageaction
- current action set on package
-
Usage data grouped by quantities
all
- all xDRspaid
- paid xDRs (charged directly or by package)new
- new xDRs queuererating
- rerating xDRs queue
Request​
Responses​
- 200
- 400
- 401
- 404
- 422
- 500
Object containing meta info (with keys as YYYYMMDD
).
The request contains invalid arguments or is malformed
Access is not authorized
Requested object was not found
A logical error occurred, making the request unprocessable
An unexpected error occurred