Query Extension Group Settings
Query information of an extension group, multiple extension groups, or all extension groups.
Request URL
{base_url}/{api_path}/extensiongroup/query?token={token}
Request parameters
Parameter | Required | Type | Description |
---|---|---|---|
id | Yes | Integer | The unique ID of an extension group. Valid values:
|
Response parameters
Parameter | Type | Description |
---|---|---|
status | String | Request result.
|
extgroupinfos | Array <Extgroupinfos> | Extension group information. |
- Extgroupinfos
-
Parameter Type Description id Integer The unique ID of an extension group. name String The extension group name. members String The members in the extension group.
Examples
Request example
Query information of the extension group with id 13.
POST /api/v2.0.0/extensiongroup/query?token=5b470331116bb15d16c24940083d9dfc HTTP/1.1 Content-Type:application/json; charset=utf-8 Host: 192.168.5.150 { "id": "13" }
Response example
HTTP/1.1 200 OK Server: Boa/0.94.101wk Accept-Ranges: bytes Connection: close Content-Type: application/json Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status":"Success", "extgroupinfos": [ { "id":"13", "name":"training team", "members":"1008,1009,1010,1011,1012" } ] }