Update schedule_2

This API is used to update the existing schedule of the specified scene.

{
    "collection_uuid": "62871755-3c72-4757-9af2-4e76569sfs54",
    "name": "Good Morning for weekdays",
    "type": "SCENE",
    "is_active": true,
    "devices": [
        {
            "dsn": "AC000W0000001165",
            "connected_at": "2020-09-04T11:42:50Z",
            "connection_status": "online",
            "lan_enabled": "1",
            "oem_model": "OEM1",
            "product_name": "bedroom light 2",
            "states": [
                {
                  "property_name": "integer_input_tp",
                  "base_type": "integer",
                  "property_value": 1008
                },
                {
                  "property_name": "decimal_input_tp",
                  "base_type": "decimal",
                  "property_value": 1008.1008
                }
            ]
        },
        {
            "dsn": "AC000W0000001166",
            "connected_at": "2020-09-04T11:42:50Z",
            "connection_status": "online",
            "lan_enabled": "1",
            "oem_model": "OEM1",
            "product_name": "bedroom light 3",
            "states": [
                {
                  "property_name": "integer_input_tp",
                  "base_type": "integer",
                  "property_value": 1008
                },
                {
                  "property_name": "decimal_input_tp",
                  "base_type": "decimal",
                  "property_value": 1008.1008
                }
            ]
        }
    ],
    "child_collections": [
        {
            "collection_uuid": "62871755-3c72-4757-9af2-4e76569e6b94",
            "name": "group 13",
            "states": [
                {
                  "property_name": "integer_input_tp",
                  "base_type": "integer",
                  "property_value": 1008
                },
                {
                  "property_name": "decimal_input_tp",
                  "base_type": "decimal",
                  "property_value": 1008.1008
                }
            ]
        },
        {
            "collection_uuid": "62871755-3c72-4757-9af2-4e76569e6b95",
            "name": "group 14",
            "states": [
                {
                  "property_name": "integer_input_tp",
                  "base_type": "integer",
                  "property_value": 1008
                },
                {
                  "property_name": "decimal_input_tp",
                  "base_type": "decimal",
                  "property_value": 1008.1008
                }
            ]
        }
    ],
    "custom_attributes": {
        "color": "#F08080",
        "sort_order": "ascending"
    },
    "schedule": {
        "active": true,
        "days_of_month": "[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]",
        "days_of_week": "[1, 2, 3, 4, 5, 6, 7]",
        "end_date": "",
        "end_time_each_day": "",
        "months_of_year": "[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]",
        "name": "sched-2020-08-03-18:40:08",
        "start_date": "2021-02-02",
        "start_time_each_day": "00:00:00",
        "metadata": {
            "sunrise_sunset": true
        },
        "time_zone" : "America/Los_Angeles",
        "utc" : false
    },
    "shared_users": []
}
Language
Authentication
Header
Click Try It! to start a request and see the response here!