Table of Contents | ||
---|---|---|
|
...
GET /extension_group/{ext_group_id}/call_status/stats/
...
Добавление группы добавочных
Параметры JSON
Имя | Тип | Описание |
---|---|---|
|
| Обязательный. Имя группы добавочных. |
|
| Обязательный. Id клиента. |
Поля ответа
Имя | Тип | Описание |
---|---|---|
|
| Id группы добавочных. |
|
| Id клиента. |
|
| Имя группы добавочных. |
GET /extension_group/
Получение списка групп добавочных
Параметры запроса
Имя | Тип | Описание |
---|---|---|
|
| Id группы добавочных. |
|
| Id клиента. |
|
| Имя группы добавочных. |
Поля ответа
Имя | Тип | Описание |
---|---|---|
|
| Id группы добавочных. |
|
| Id клиента. |
|
| Имя группы добавочных. |
PUT /extension_group/{id
}
Корректировка группы добавочных
Параметры URL
Имя | Тип | Описание |
---|---|---|
|
| Обязательный. Id группы. |
Параметры JSON
Имя | Тип | Описание |
---|---|---|
|
| Имя группы добавочных. |
Поля ответа
...
Имя
...
Тип
...
Описание
...
id
...
integer
...
history_by_extension/
Get extension call status history by extension
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource call_status_change
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
|
...
GET /extension_group/{ext_group_id}/cdr/
Get cdr list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| |
|
| |
|
| |
|
| One of 'in', 'out', 'transfer'. |
|
| |
|
| |
|
| |
|
| Result page. Default: 1 |
|
| Items per page. Default: 100000 |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description |
---|---|---|
|
| Items per page. |
|
| Datetime sorting order. |
|
| |
|
| Result page. |
Resource cdr_response
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
GET /extension_group/{ext_group_id}/cdr/stats/
Get calls statistics
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
|
...
GET /extension_group/{ext_group_id}/fax/in/
Get incoming fax messages list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Fax uuid. |
|
| Extension id. |
|
| Start datetime. |
|
| End datetime. |
|
| Destination number. |
|
| Caller id number. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description |
---|---|---|
|
| Fax uuid. |
|
| Destination number. |
|
| Caller id. |
|
| Record datetime. |
|
| Fax file size. |
|
| Extension id. |
|
| Id клиентаClient id. |
|
| Имя группы добавочных. |
...
|
| Extension group id. |
...
GET /extension_group/{ext_group_id}
...
Удаление группы добавочных
Параметры URL
...
Имя
...
Тип
...
Описание
...
id
...
integer
...
/reg_status_log/
Get logs change registration for all extension in group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| Required. End datetime. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
|
...
GET /extension_group/{ext_group_id}
...
Получение группы добавочных по id
Параметры URL
Имя | Тип | Описание |
---|---|---|
|
| Обязательный. Id группы. |
Поля ответа
...
Имя
...
Тип
...
Описание
...
id
...
integer
...
Id группы добавочных.
...
client_id
...
integer
...
Id клиента.
...
name
...
string
...
/voicemail/
Get voice mail messages list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| Required. End datetime. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| Extension id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Extension id. |
|
| |
|
|
...