Customers

Get list of customer traffic counters

Work with customer traffic counters.Get list of customer traffic counters for internet service.

get/admin/customers/customer-traffic-counter

Request

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

Query parameters

sub_idnumber double
Example:1

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

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.