Create group or scene

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
{
    "collection": {
        "name": "Room101",
        "type": "GROUP",
        "devices": [
            {
                "dsn": "TESTDSN_787294_001"
            },
            {
                "dsn": "TESTDSN_899248_001"
            }
        ],
        "child_collections": [
            {
                "collection_uuid": "62871xxx-3c72-xxxx-9af2-4e76569e6b94"
            },
            {
                "collection_uuid": "62871xxx-3c72-xxxx-9af2-4e76569e6b95"
            },
            {
                "collection_uuid": "62871xxx-3c72-xxxx-9af2-4e76569e6b96"
            }
        ],
        "custom_attributes": {
            "color": "#F08080",
            "sort_order": "ascending"
        }
    }
}
{
    "collection": {
        "name": "Good Morning",
        "type": "SCENE",
        "devices": [
            {
                "dsn": "TESTDSN_787294_001",
                "states": [
                    {
                        "property_name": "integer_output_tp1",
                        "base_type": "integer",
                        "property_value": 1008
                    },
                    {
                        "property_name": "string_input_tp1",
                        "base_type": "string",
                        "property_value": "OK"
                    }
                ]
            }
        ],
        "child_collections": [
            {
                "collection_uuid": "a8ae010c-2dde-4140-8e19-116363eaa475",
                "states": [
                    {
                        "property_name": "integer_output_tp1",
                        "base_type": "integer",
                        "property_value": 1008
                    },
                    {
                        "property_name": "string_input_tp1",
                        "base_type": "string",
                        "property_value": "OK"
                    }
                ]
            }
        ],
        "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": "2021-12-02",
            "end_time_each_day": "00:00:00",
            "months_of_year": "[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]",
            "name": "sched-2021-09-15-21:40:08",
            "start_date": "2021-10-02",
            "start_time_each_day": "00:00:00",
            "metadata": {
                "sunrise_sunset": true
            },
            "time_zone" : "America/Los_Angeles",
            "utc" : false
        }
    }
}

Body Params
json
Responses

400

Bad Request

401

Unauthorized

403

Forbidden

422

Unprocessable Entity

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json