Jump to content

API getincomingcallstotalroot

From Wiki 7Kas
Revision as of 22:33, 21 July 2026 by Maintenance script (talk | contribs) (API docs (generated from func=help))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

7Kas VoIP REST API function. Available to: SuperRoot, Operator.

Description

Monthly incoming total for one root/operator (TIC). Not available to clients.

Call

GET  …/7Kas?func=getincomingcallstotalroot&ukey=YOUR_KEY&…

Requires the ukey parameter.

Parameters

Parameter Type Required Default Meaning
year integer Yes Year.
month integer Yes Month, 1-12.
root integer No Root/operator id. Required for SuperRoot; operators use their own. (required when SuperRoot)

Example

https://api.7kas.com:9080/7Kas?func=getincomingcallstotalroot&ukey=SRKEY&year=2026&month=7&root=5

Response

FillRecords2JSON: one aggregate row.

Column visibility by profile

Pricing/cost columns depend on the caller's profile (GOD LAW):

  • SuperRoot — provider cost + selling price + profit (VOC only).
  • Operator — account price + root price + profit (VOC only).
  • Client (direct, root=0) — only its own selling price (accountcode column).
  • Client (of operator, root>0) — only its own selling price (root column).

Back to API VoIP · ▶ Try it live · Profiles: API profile SuperRoot, API profile Operator