Jump to content

TuCloudAPI getcdrlookups

From Wiki 7Kas
Revision as of 06:59, 2 August 2026 by Maintenance script (talk | contribs) (API docs — add #39/#40 getcdr (via restapi))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

TuCloudAPI function to manage tucloud (PBX) services. Available to: SuperRoot, Operator, Client.

Description

CDR form pickers: the selectable years + the result (disposition) label set.

Call

GET  https://tucloudapi.7kas.com:9087/tucloud?func=getcdrlookups&ukey=YOUR_KEY

Requires the ukey parameter.

Parameters

Parameter Type Required Default Meaning
pbx string Yes TuCloud PBX NAME (e.g. tucall). The (ukey, pbx) pair is the tenant boundary; the server resolves this PBX's accountcode and reads only its own CDR via the restapi.

Example

https://tucloudapi.7kas.com:9087/tucloud?func=getcdrlookups&ukey=KEY&pbx=tucall

Response

{ok, years:[..], dispositions:[..]}.


Back to TuCloudAPI