Get Breakpoint

Function

This API is used to obtain the upgrade breakpoint position when upgrading an IPC through an NVR.

Request Message

Table 1
ParameterRangeTypeDescription
token0-32stringThe token for the upgrade process.

Sample:

POST /API/IPCMaintaint/IPCUpgrade/GetBreakpoint HTTP/1.1
{
    "version": "1.0",
    "data": {
        "token": "xxxxxxxxxxxxxxx"
    }
}

Response Message

Parameter Description

Table 2
ParameterRangeTypeDescription
posintThe position to resume the transmission of the upgrade file.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "pos": 12267352
    }
}

Error Code

See Response Messages Body and Common error_code for more information.