Activate scene manually (Tap-to-run)

This API is used to activate the specified scene manually (Tap-to-run).

NOTE:

  • If you get response code 206, it indicates that some of the properties in the request are associated with the devices in the group and datapoint is posted successfully for them.
  • Possible reasons for getting 422 response code
    1. "collection_uuid" is not available.
    2. Property is not available.
    3. All the device properties in the collection are incorrect and hence no datapoint is posted.
[
      {
            "dsn":"TESTDSN_787294_001"
            "name":"integer_output_tp1"
            "status":201
            "datapoint":{
                  "updated_at":"2021-09-17T12:05:13Z"
                  "created_at":"2021-09-17T12:05:13Z"
                  "echo":false
                  "metadata":{
                  }
                  "generated_at":NULL
                  "generated_from":NULL
                  "value":2000
            }
      }
      {
            "dsn":"TESTDSN_787294_001"
            "name":"string_input_tp1"
            "status":201
            "datapoint":{
                  "updated_at":"2021-09-17T12:05:13Z"
                  "created_at":"2021-09-17T12:05:13Z"
                  "echo":false
                  "metadata":{
                  }
                  "generated_at":NULL
                  "generated_from":NULL
                  "value":"TRUE"
            }
      }
      {
            "dsn":"TESTDSN_177487_002"
            "name":"integer_input_tp"
            "status":201
            "datapoint":{
                  "updated_at":"2021-09-17T12:05:13Z"
                  "created_at":"2021-09-17T12:05:13Z"
                  "echo":false
                  "metadata":{
                  }
                  "generated_at":NULL
                  "generated_from":NULL
                  "value":1008
            }
      }
      {
            "dsn":"TESTDSN_177487_002"
            "name":"decimal_input_tp"
            "status":201
            "datapoint":{
                  "updated_at":"2021-09-17T12:05:13Z"
                  "created_at":"2021-09-17T12:05:13Z"
                  "echo":false
                  "metadata":{
                  }
                  "generated_at":NULL
                  "generated_from":NULL
                  "value":1008.1008
            }
      }
      {
            "dsn":"TESTDSN_787294_001"
            "name":"integer_output_tp1"
            "status":201
            "datapoint":{
                  "updated_at":"2021-09-17T12:05:13Z"
                  "created_at":"2021-09-17T12:05:13Z"
                  "echo":false
                  "metadata":{}
                  "generated_at":NULL
                  "generated_from":NULL
                  "value":1000
            }
      }
      {
            "dsn":"TESTDSN_899248_001"
            "name":"integer_output_tp1"
            "status":201
            "datapoint":{
                  "updated_at":"2021-09-17T12:05:13Z"
                  "created_at":"2021-09-17T12:05:13Z"
                  "echo":false
                  "metadata":{}
                  "generated_at":NULL
                  "generated_from":NULL
                  "value":1000
            }
      }
]
[
      {
            "dsn":"TESTDSN_787294_001"
            "name":"integer_output_tp1"
            "status":201
            "datapoint":{
                  "updated_at":"2021-09-17T12:05:13Z"
                  "created_at":"2021-09-17T12:05:13Z"
                  "echo":false
                  "metadata":{
                  }
                  "generated_at":NULL
                  "generated_from":NULL
                  "value":2000
            }
      }
      {
            "dsn":"TESTDSN_787294_001"
            "name":"string_input_tp1"
            "status":201
            "datapoint":{
                  "updated_at":"2021-09-17T12:05:13Z"
                  "created_at":"2021-09-17T12:05:13Z"
                  "echo":false
                  "metadata":{
                  }
                  "generated_at":NULL
                  "generated_from":NULL
                  "value":"TRUE"
            }
      }
      {
            "dsn":"TESTDSN_763168_004"
            "name":"integer_output_tp1"
            "status":404
            "datapoint":{
                  "value":"1008"
            }
      }
      {
            "dsn":"TESTDSN_763168_004"
            "name":"string_input_tp1"
            "status":404
            "datapoint":{
                  "value":"OK"
            }
      }
]
Language
Credentials
Header
Click Try It! to start a request and see the response here!