# Get

## Function

This API is used to get parameter for Alarm > Siren(cloud dedicated).

## Request Message

Sample：

    POST /API/AlarmConfig/Siren/Get HTTP/1.1

    {
        "version": "1.0",
        "data": {}
    }

## Response Message

See Alarm > Siren(cloud dedicated)> Range > Parameter Description > Table 2 for parameter description.

Sample：

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

    {
        "result": "success",
        "data": {"channel_info": {"CH1": {
            "siren_switch": false,
            "siren_time": 10,
            "siren_value": 7,
            "siren_type_content": {"Alarm1": {}},
            "siren_type": "Alarm1",
            "siren_file_name": "",
            "schedule_list": [{
                "enable": true,
                "weekday": [
                    "Sunday",
                    "Monday",
                    "Tuesday",
                    "Wednesday",
                    "Thursday",
                    "Friday",
                    "Saturday"
                ],
                "start_time": 0,
                "end_time": 1440
            }]
        }}}
    }

## Error Code

See Response Messages Body and Common error_code for more information.