TuCloudAPI getaccountcodeid
Appearance
TuCloudAPI function to manage tucloud (PBX) services. Available to: SuperRoot, Operator.
Description
Lists (id, accountcode) pairs of the accounts under the caller. Operators/SuperRoot only.
Call
GET https://tucloudapi.7kas.com:9087/tucloud?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:9087/tucloud?func=getaccountcodeid&ukey=OPKEY&limit=100
Response
FillRecords2JSON records: fields [id, accountcode].
Back to TuCloudAPI