# Get

## Function

This API is used to get parameter for Storage > Schedules(cloud dedicated) > Schedule template(cloud dedicated) page.

## Request Message

None.

Sample:

    POST /API/Schedules/Template/Get HTTP/1.1

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

## Response Message

See Storage >Schedules(cloud dedicated) > Schedule template(cloud dedicated) > Range > Parameter Description > Table 1 for parameter description.

Sample:

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

    {
        "result": "success",
        "data": {"tamplate_list": [
            {
                "tamplate_name": "7x24",
                "schedule_list": [{
                    "enable": true,
                    "weekday": [
                        "Sunday",
                        "Monday",
                        "Tuesday",
                        "Wednesday",
                        "Thursday",
                        "Friday",
                        "Saturday"
                    ],
                    "start_time": 0,
                    "end_time": 1440
                }]
            },
            {
                "tamplate_name": "5x24",
                "schedule_list": [{
                    "enable": true,
                    "weekday": [
                        "Monday",
                        "Tuesday",
                        "Wednesday",
                        "Thursday",
                        "Friday"
                    ],
                    "start_time": 0,
                    "end_time": 1440
                }]
            },
            {
                "tamplate_name": "111",
                "schedule_list": [
                    {
                        "enable": true,
                        "weekday": [
                            "Sunday",
                            "Monday",
                            "Tuesday",
                            "Saturday"
                        ],
                        "start_time": 0,
                        "end_time": 1440
                    },
                    {
                        "enable": true,
                        "weekday": [
                            "Wednesday",
                            "Thursday",
                            "Friday"
                        ],
                        "start_time": 0,
                        "end_time": 480
                    },
                    {
                        "enable": true,
                        "weekday": [
                            "Wednesday",
                            "Thursday",
                            "Friday"
                        ],
                        "start_time": 720,
                        "end_time": 1440
                    }
                ]
            },
            {
                "tamplate_name": "1111",
                "schedule_list": [
                    {
                        "enable": true,
                        "weekday": [
                            "Wednesday",
                            "Thursday",
                            "Friday",
                            "Saturday"
                        ],
                        "start_time": 0,
                        "end_time": 540
                    },
                    {
                        "enable": true,
                        "weekday": [
                            "Wednesday",
                            "Thursday",
                            "Friday",
                            "Saturday"
                        ],
                        "start_time": 780,
                        "end_time": 1440
                    },
                    {
                        "enable": true,
                        "weekday": [
                            "Sunday",
                            "Monday",
                            "Tuesday"
                        ],
                        "start_time": 0,
                        "end_time": 1440
                    }
                ]
            }
        ]}
    }

## Error Code

See Response Messages Body and Common error_code for more information.