Query PBX Information

Query PBX information, such as model, firmware version, uptime, etc.

Request URL

GET {base_url}/{api_path}/system/information?access_token={access_token}

Request parameters

No request parameters. Send the request URL directly to query PBX information.

Response parameters

Table 1.
Parameter Type Description
errcode Integer Returned error code.
  • 0: Succeed.
  • Non-zero value: Failed.
Note: You can check the error code and error message in Error Code and Error Message.
errmsg String Returned message.
  • SUCCESS: Succeed.
  • FAILURE: Failed.
data Object<Device_Info> The detailed information of the PBX.
Device_Info
Table 2.
Parameter Type Description
device_name String Device name.
model_name String Product model.
sn String Product serial number.
firmware_version String Firmware version.
system_time String System time.
up_time Integer System uptime. (Unit: Second)

Examples

Request example

GET /openapi/v1.0/system/information?access_token=gwakjgu9ZBUfz36wql4ndsVKkryI0kdj 
Host: 192.168.5.150:8088

Response example


{
    "errcode": 0,
    "errmsg": "SUCCESS",
    "data": {
        "device_name": "PBX",
        "model_name": "P-Series Software Edition",
        "sn": "3631A2124XXX",
        
        "firmware_version": "X.7.0.16",
        "system_time": "2022/05/11 11:29:37",
        "up_time": 241404
    }
}