# Set

## Function

This API is used to Set Thermal > Video Color page.

## Request Message

### Parameter Description

See Thermal > Video Color >Response Message > Parameter Description > Table 1 Obtain the parameter description.

Sample:

    POST /API/ChannelConfig/Color/Set HTTP/1.1

    {
        "version": "1.0",
        "data": {"channel_info": {"CH2": {
            "status": "Online",
            "bright": 128,
            "contrast": 153,
            "support_default": true,
            "palette": "White Hot",
            "hue": 50,
            "saturation": 50,
            "sharpness": 50,
            "last_hue": 50,
            "last_bright": 50,
            "last_contrast": 50,
            "last_saturation": 50,
            "last_sharpness": 50,
            "SunRise_time": "00:00",
            "SunSet_time": "00:00"
        }}}
    }

## Response Message

none

Sample:

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

    {
        "result": "success",
        "data": {}
    }

## Error Code

See Response message body and general error_code for more information.