Customers

Voucher statistic

Get all statistics of specified voucher.

get/admin/customers/prepaid-cards-statistics/{id}

Request

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

Path parameters

idnumber double required
Example:1

The ID of the desired voucher.

Response

idnumber

ID

card_idnumber

Customer ID

nas_idstring

NAS ID

loginstring

Login

in_bytesstring

Download

out_bytesstring

Upload

start_datestring

Start date

start_timestring

Start time

end_datestring

End date

end_timestring

End time

ipv4string

IPv4

macstring

MAC address

call_tostring

Call to

portstring

Port

errorstring

Error

error_repeatstring

Error repeat

session_idstring

Session ID

terminate_causestring

Terminate cause

nas_identifierstring

NAS identifier

Example response

[
  {
    "id": 1,
    "card_id": 1,
    "nas_id": "1",
    "login": "",
    "in_bytes": "0",
    "out_bytes": "0",
    "start_date": "0000-00-00",
    "start_time": "00:00:00",
    "end_date": "1970-01-01",
    "end_time": "01:00:00",
    "ipv4": "0.0.0.0",
    "mac": "",
    "call_to": "",
    "port": "",
    "error": "0",
    "error_repeat": "0",
    "session_id": "",
    "terminate_cause": "0",
    "nas_identifier": "'PPPD'"
  }
]

Changes

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