Query Linkus Client Status
For S50, S100, and S300, you can query the Linkus client status of specific extensions.
Request URL
{base_url}/{api_path}/linkus/query_client?token={token}
Request parameters
Parameter | Required | Type | Description |
---|---|---|---|
number | Yes | String | The extension number. Valid values:
|
Response parameters
Parameter | Type | Description |
---|---|---|
status | String | Request result.
|
linkusclients | Array <LinkusClientStatusInfo> | The Linkus client status of specific extensions. |
- LinkusClientStatusInfo
-
Parameter Type Description number String Extension number. enablelinkus String Linkus client status: - on: Linkus client is enabled for the extension.
- off: Linkus client is disabled for the extension.
Examples
Request example
POST /api/v2.0.0/linkus/query_client?token=1e3b3ebb6a974cb42ed31de5413df52d Content-Type:application/json; charset=utf-8 Host: 192.168.5.150 { "number": "1001,1002" }
HTTP/1.1 200 OK Server: Boa/0.94.14rc21 Accept-Ranges: bytes Connection: close Content-Type: application/json Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE {"status":"Success", "linkusclients":[ { "number":"1001", "enablelinkus":"on" }, { "number":"1002", "enablelinkus":"off" }, ] }