Activate scene based on schedule_2

This API is used to activate the specified scene based on a schedule.

{
      "collection_uuid":"8ae79d4b-bc40-4bc3-889e-7cbddda0c0ad"
      "name":"Good Morning"
      "type":"SCENE"
      "is_active":false
      "devices":[
            {
                  "dsn":"TESTDSN_787294_001"
                  "product_name":"TESTDEVICE_001"
                  "oem_model":"ledevb"
                  "lan_enabled":false
                  "connected_at":"2020-07-06T11:08:03Z"
                  "connection_status":"Offline"
                  "states":[
                        {
                              "property_name":"integer_output_tp1"
                              "base_type":"integer"
                              "property_value":2000
                        }
                        {
                              "property_name":"string_input_tp1"
                              "base_type":"string"
                              "property_value":"TRUE"
                        }
                  ]
            }
            {...}
            {...}
      ]
      "child_collections":[
            {
                  "collection_uuid":"a8ae010c-2dde-4140-8e19-116363eaa475"
                  "name":"Dining-hall"
                  "states":[...]
            }
            {
                  "collection_uuid":"e12553f2-2280-4340-938f-fd813bd3d49d"
                  "name":"Room102"
                  "states":[...]
            }
      ]
      "custom_attributes":{
            "color":"#F08080"
            "sort_order":"ascending"
      }
      "schedule":{
            "end_date":"2021-11-01"
            "days_of_week":[
                  3
                  4
            ]
            "metadata":"{ "quarter"=1 }"
            "months_of_year":[
                  1
                  2
                  3
                  4
            ]
            "end_time_each_day":"00:00:00"
            "start_time_each_day":"12:00:00"
            "days_of_month":[
                  1
                  2
                  3
                  4
                  11
                  16
                  17
                  18
            ]
            "active":true
            "name":"test_schedule"
            "start_date":"2021-10-01"
            "metadata": {
            "sunrise_sunset": true
             },
            "time_zone" : "America/Los_Angeles",
            "utc" : false
      }
}
{
  "weekends": true
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!