Query PBX Information
Query PBX information, such as model, firmware version, uptime, etc.
Request URL
{base_url}/{api_path}/deviceinfo/query?token={token}
Request parameters
No request parameters. Send the request URL directly to query PBX information.
Response parameters
Parameter | Type | Description |
---|---|---|
status | String | Request result.
|
deviceinfo | Object <DeviceInfo> | The device name. |
- DeviceInfo
-
Parameter Type Description devicename String The device name. sn String Serial number. hardwarever String Hardware version. firmwarever Integer Firmware version. systemtime String System time. uptime Integer Up time. extensionstatus String Number of added extensions/Total number of extensions.
Examples
Request example
POST /api/v2.0.0/deviceinfo/query?token=6fc544c66fd06a1a6eb4b4c4547f6d06
Content-Type:application/json; charset=utf-8
Host:192.168.5.150
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", "deviceinfo": { "devicename": "Yeastar S300", "sn": "369451090405", "hardwarever": "V1.10 0000-0000", "firmwarever": "30.11.0.11", "systemtime": "2019-10-17 23:07:43 UTC-8", "uptime": "00:32:59", "extensionstatus": "22/500" } }