Customers

List Customers logs of changes

Returns a list of Customer logs of changes.

get/admin/customers/customer/{customer_id}/logs-changes

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/customers/customer/{customer_id}/logs-changes
  • Auth: HTTP basic

Path parameters

customer_idnumber double required
Example:40

The ID of the desired Customer.

Response

datestring

date of change

timestring

time of change

old_statusstring

customer status before change

new_statusstring

customer status after change

service_idstring nullable

id of customer service

tariff_typestring nullable

Type of tariff: 'internet', 'voice', 'custom' (recurring).

old_tariffstring nullable

id of old tariff.

new_tariffstring nullable

id of new tariff.

administrator_idnumber

id of admin (system change if 0).

Example response

[
  {
    "date": "2019-11-16",
    "time": "00:01:06",
    "old_status": "new",
    "new_status": "active",
    "service_id": "null",
    "tariff_type": "null",
    "old_tariff": "null",
    "new_tariff": "null",
    "administrator_id": 0
  },
  {
    "date": "2020-02-01",
    "time": "23:05:45",
    "old_status": "null",
    "new_status": "null",
    "service_id": "15",
    "tariff_type": "internet",
    "old_tariff": "5",
    "new_tariff": "593",
    "administrator_id": 5
  },
  {
    "date": "2020-05-30",
    "time": "14:23:55",
    "old_status": "active",
    "new_status": "disabled",
    "service_id": "null",
    "tariff_type": "null",
    "old_tariff": "null",
    "new_tariff": "null",
    "administrator_id": 12
  },
  {
    "date": "2020-08-01",
    "time": "09:59:48",
    "old_status": "disabled",
    "new_status": "active",
    "service_id": "null",
    "tariff_type": "null",
    "old_tariff": "null",
    "new_tariff": "null",
    "administrator_id": 2
  }
]

Changes

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