# TimeInfo/Set

## Function

The function of this API is for the working device to notify the hot standby device of the channels for which supplementary recording has been completed.

## Request Message

### Parameter Description

#### Table 1

Parameter | Range | Type | Description
--- | --- | --- | ---
mac |  | string | The MAC address of the working device.
finish_channels | "CH1"…"CHx" "IP_CH1"…"IP_CHx" "WIFI_CH1"…"WIFI_CHx" | string array | Channels with completed supplementary recordings.

Sample:

    POST /API/RecordPatch/TimeInfo/Set HTTP/1.1

    {
        "data":
        {
            "mac": "xx-xx-xx-xx-xx-xx",
            "finish_channels": ["CH1", "CH2"]
        }
    }

## Response Message

None

Sample:

    HTTP/1.1 200 OK
    Content-Type: application/json

    {
        "result": "success"
    }