User Tools

Site Tools


api:log:changeloglite

API : Change Log Lite List

Introduction

This request will return a condensed list of changes made on a specific customer or all customers that belongs to a specific reseller.

The log expires its data within 5 days, and a maximum of 10000 entries can be returned at once.

Request

URL https://api.telecomx.dk/log/changeloglite?date=START_DATE
Method GET
Access level VIEWER, MANAGER or OWNER if looking up for own customer
RESELLER if customers belongs to the reseller
RESELLER_ADMIN or ADMIN.
Query date Start date from which changelog events shall be included.
customer [optional] Customer to return events for, default to users own customer.
reseller [optional] Reseller whose customers to return events for. If given customer is ignored.

Query examples

https://api.telecomx.dk/log/changeloglite?date=2025-01-01T00:00:00.000Z
https://api.telecomx.dk/log/changeloglite?date=2025-01-01T00:00:00.000Z&customer=12345678901234567890ABCD
https://api.telecomx.dk/log/changeloglite?date=2025-01-01T00:00:00.000Z&reseller=12345678901234567890AAAA

Response

Array of changelog event, each conforming to the below definition.

Property Type Description
_id Id Unique id of event
customer Id Id of customer it happened on.
reseller Id Id of the reseller the customer belongs to.
when Date Date and time it happened.
where String Name of the section it happened in.
what String Type of event: CREATE, UPDATE, DELETE, OTHER
id Id Id of the item that was changed.
Section names is one of:
Customers
Dns
Documents
Employees
Internet
InternetRequest
IpTvArchivedDevices
IpTvChannels
IpTvDevices
IpTvDialogProfiles
IpTvDrmAccounts
IpTvEpgCalendar
IpTvFlexCareConferences
IpTvFlexCareConferenceSettings
IpTvFlexCareOrders
IpTvFlexCareServiceCases
IpTvPackages
IpTvRadioChannels
IpTvRecordingEpg
IpTvRecordings
IpTvSettings
IpTvSubscriptions
IpTvSupportCases
IpTvTabletProfiles
NetworkDevices
Numbers
PbxAppDashboards
PbxAppSettings
PbxAudios
PbxBeacons
PbxCalendar
PbxDialplans
PbxMusicOnHold
PbxPhonebook
PbxRecordings
PbxSettings
PbxSipPhones
PbxVoicemails
Portings
PresenceProxies
Products
Routers
TelenorRoamingPartners
TrustedIps
VoiceAccounts
ZeroTierNetworks

Example

[
  {
    "_id": "6904be73590baa1a0bafba0c",
    "customer": "619cd739e37f9bb149dd328b",
    "reseller": "54e5f28c741290fc0203b05a",
    "when": "2025-10-31T13:49:39.529Z",
    "where": "Customers",
    "what": "UPDATE",
    "id": "619cd739e37f9bb149dd328b"
  },
  {
    ...
  }
]

Errors

Error code Message Description
422 date Date is invalid
403 access_denied Insufficient access level
api/log/changeloglite.txt · Last modified: 2025/10/31 14:38 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki