# Set

## Function

This API is used to set parameter for Event Settings(cloud dedicated) > Event Setting .

## Request Message

See Event Settings(cloud dedicated) > Event Setting > Get > Parameter Description > Table 1 for parameter description

Sample：

    POST /API/Event/ChnSmart/Set HTTP/1.1

    {
        "version": "1.0",
        "data": {"channel_info": {"CH1": {"abilities": [{"ability_info": [{
            "agreement_face_flag": true,
            "state": "Off",
            "ability": "FaceDetection",
            "pages": [
                {
                    "title": "Settings",
                    "page": "smart_setting"
                }
                ,
                {
                    "title": "Plan",
                    "page": "smart_plan"
                }
                ,
                {
                    "title": "Alarm Linkage",
                    "page": "smart_alarm_linkage"
                }
            ],
            "mutual_ability": []
        }]}]}}}
    }

## Response Message

None.

Sampel：

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

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

## Error Code

See Response Messages Body and Common error_code for more information.