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:

  • all: Query the Linkus client status of all extensions.
  • an extension number: Query the Linkus client status of the specific extension.
  • Multiple extension numbers: Query the Linkus client status of multiple extensions. Separate multiple extension numbers with ,.

Response parameters

Parameter Type Description
status String Request result.
  • Success
  • Failed
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"
}
Response example
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"
            },
      ]
}