Query PBX Information
Query PBX information, such as firmware version, system time, etc.
Endpoint
POST /api/v1.1.0/deviceinfo/query?token={token}
Request Parameters
No request parameters. Only need to send the request address.
Response Parameters
Name | Type | Description |
---|---|---|
devicename |
String | The device name. |
sn |
String | Serial Number. |
firmwarever |
String | Firmware version. |
systemtime |
String | System time. |
uptime |
String | Up time. |
extensionstatus |
String | Number of registered extensions/Total number of extensions. |
Examples
Request Example
POST /api/v1.1.0/deviceinfo/query?token=277ac400357b509b4a587ff2157f7ad5 HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: api.yeastarcloud.com
HTTP/1.1 200 OK Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status": "Success", "deviceinfo": { "devicename": "Yeastar Cloud PBX", "sn": "3682804SWHO36DV3", "firmwarever": "81.4.0.0", "systemtime": "2018-03-22 20:26:02 UTC+8", "uptime": "3days 03:57:42", "extensionstatus": "3/5" } }