API getaccountcodeid: Difference between revisions
Appearance
API docs (generated from func=help) |
API docs regenerated from func=help (operator catalogue) |
||
| Line 1: | Line 1: | ||
''7Kas VoIP REST API function. Available to: ''' | ''7Kas VoIP REST API function. Available to: '''Operator'''.'' | ||
== Description == | == Description == | ||
| Line 25: | Line 25: | ||
---- | ---- | ||
Back to [[API VoIP]] · '''[[API Console|▶ Try it live]]''' · Profiles: | Back to [[API VoIP]] · '''[[API Console|▶ Try it live]]''' · Profiles: [[API profile Operator]] | ||
[[Category:API Operator]][[Category:API function]] | |||
Latest revision as of 13:47, 5 November 2026
7Kas VoIP REST API function. Available to: Operator.
Description
Lists (id, accountcode) pairs of the accounts under the caller. Operators/SuperRoot only.
Call
GET …/7Kas?func=getaccountcodeid&ukey=YOUR_KEY&…
Requires the ukey parameter.
Parameters
| Parameter | Type | Required | Default | Meaning |
|---|---|---|---|---|
accountcode |
string | No | — | Filter by account code (exact). Omit for all. (max length 20) |
limit |
integer | No | 100 |
Max rows (up to 10000). |
offset |
integer | No | 0 |
Pagination offset. |
Example
https://api.7kas.com:9080/7Kas?func=getaccountcodeid&ukey=OPKEY&limit=100
Response
FillRecords2JSON records: fields [id, accountcode].
Back to API VoIP · ▶ Try it live · Profiles: API profile Operator