Customers

Get customer traffic counters

Work with customer traffic counters for internet service.Get the customer traffic counters for internet service by specify service_id and date

get/admin/customers/customer-traffic-counter/{service_id}--{date}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/customers/customer-traffic-counter/{service_id}--{date}
  • Auth: HTTP basic

Path parameters

service_idnumber double required
Example:1
datestring required
Example:2023-01-01

Query parameters

sub_idnumber double
Example:1

Optional. Available for the main LBA (Linked Billing Account) customer. When provided, returns the traffic counter of the sub-account's service; the sub-account must belong to the main customer taken from the token, and the service must belong to that sub-account.

Response

service_idnumber

Internet service id.

datestring

Date for traffic statistics.

upnumber

Number of bytes was uploaded.

downnumber

Number of bytes was downloaded.

Example response

[
  {
    "service_id": 1,
    "date": "2018-01-15",
    "up": 333,
    "down": 444
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.