Customers

Retrieve online customer

Work with online customer.Retrieves online customer.

get/admin/customers/customers-online/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/customers/customers-online/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired online customer record. Beware: this is not customer ID!!!

Response

customer_idstring
service_idstring
tariff_idstring
partner_idstring
nas_idstring
loginstring
username_realstring
in_bytesstring
out_bytesstring
start_sessionstring
ipv4string
ipv6string
ipv6_prefixstring

IPv6 prefix

macstring
call_tostring
portstring
pricestring
time_onstring
last_changestring
typestring
login_isstring
session_idstring
nas_identifierstring

NAS identifier

idnumber required

Record ID

Example response

{
  "customer_id": "1",
  "service_id": "1",
  "tariff_id": "1",
  "partner_id": "1",
  "nas_id": "1",
  "login": "login_8873",
  "username_real": "14:71:0e:fc:ec:fa",
  "in_bytes": "100125",
  "out_bytes": "100998",
  "start_session": "2016-01-01 16:05:28",
  "ipv4": "10.0.0.1",
  "ipv6": "",
  "ipv6_prefix": "2001:db8::/32",
  "mac": "",
  "call_to": "",
  "port": "",
  "price": "0.0000",
  "time_on": "0",
  "last_change": "2016-01-15 16:05:28",
  "type": "mikrotik_api",
  "login_is": "user",
  "session_id": "",
  "nas_identifier": "BRANCH-ROUTER-01",
  "id": 1
}

Changes

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