POST
/
api
/
v1
/
webhook
/
smartthings
/
{domain}
cURL
curl --request POST \
  --url https://saas.pads365.com/rdx/NDS.Services.Device/api/v1/webhook/smartthings/{domain} \
  --header 'Content-Type: application/json' \
  --data '{
  "Lifecycle": "<string>",
  "ExecutionId": "<string>",
  "AppId": "<string>",
  "Locale": "<string>",
  "Version": "<string>",
  "ConfirmationData": {
    "AppId": "<string>",
    "ConfirmationUrl": "<string>"
  },
  "Settings": "<any>",
  "InstallData": {
    "AuthToken": "<string>",
    "RefreshToken": "<string>",
    "InstalledApp": {
      "InstalledAppId": "<string>",
      "LocationId": "<string>",
      "Config": {
        "ContactSensor": [
          {
            "ValueType": "<string>",
            "DeviceConfig": {
              "DeviceId": "<string>",
              "ComponentId": "<string>"
            }
          }
        ],
        "LightSwitch": [
          {
            "ValueType": "<string>",
            "DeviceConfig": {
              "DeviceId": "<string>",
              "ComponentId": "<string>"
            }
          }
        ],
        "Minutes": [
          {
            "ValueType": "<string>",
            "StringConfig": {
              "Value": "<string>"
            }
          }
        ]
      },
      "Permissions": [
        "<string>"
      ]
    }
  },
  "ConfigurationData": {
    "InstalledAppId": "<string>",
    "Phase": "<string>",
    "PageId": "<string>",
    "PreviousPageId": "<string>",
    "Config": {
      "ContactSensor": [
        {
          "ValueType": "<string>",
          "DeviceConfig": {
            "DeviceId": "<string>",
            "ComponentId": "<string>"
          }
        }
      ],
      "LightSwitch": [
        {
          "ValueType": "<string>",
          "DeviceConfig": {
            "DeviceId": "<string>",
            "ComponentId": "<string>"
          }
        }
      ],
      "Minutes": [
        {
          "ValueType": "<string>",
          "StringConfig": {
            "Value": "<string>"
          }
        }
      ]
    },
    "initialize": {
      "name": "<string>",
      "description": "<string>",
      "id": "<string>",
      "permissions": [
        "<string>"
      ],
      "firstPageId": "<string>"
    },
    "Sections": [
      {
        "Name": "<string>",
        "Settings": [
          {
            "Id": "<string>",
            "Name": "<string>",
            "Description": "<string>",
            "Type": "<string>",
            "Required": true,
            "Multiple": true,
            "Capabilities": [
              "<string>"
            ],
            "Permissions": [
              "<string>"
            ]
          }
        ]
      }
    ]
  },
  "UpdateData": {
    "AuthToken": "<string>",
    "RefreshToken": "<string>",
    "InstalledApp": {
      "InstalledAppId": "<string>",
      "LocationId": "<string>",
      "Config": {
        "ContactSensor": [
          {
            "ValueType": "<string>",
            "DeviceConfig": {
              "DeviceId": "<string>",
              "ComponentId": "<string>"
            }
          }
        ],
        "LightSwitch": [
          {
            "ValueType": "<string>",
            "DeviceConfig": {
              "DeviceId": "<string>",
              "ComponentId": "<string>"
            }
          }
        ],
        "Minutes": [
          {
            "ValueType": "<string>",
            "StringConfig": {
              "Value": "<string>"
            }
          }
        ]
      },
      "Permissions": [
        "<string>"
      ]
    },
    "PreviousConfig": {
      "ContactSensor": [
        {
          "ValueType": "<string>",
          "DeviceConfig": {
            "DeviceId": "<string>",
            "ComponentId": "<string>"
          }
        }
      ],
      "LightSwitch": [
        {
          "ValueType": "<string>",
          "DeviceConfig": {
            "DeviceId": "<string>",
            "ComponentId": "<string>"
          }
        }
      ],
      "Minutes": [
        {
          "ValueType": "<string>",
          "StringConfig": {
            "Value": "<string>"
          }
        }
      ]
    },
    "PreviousPermissions": [
      "<string>"
    ]
  },
  "EventData": {
    "AuthToken": "<string>",
    "InstalledApp": {
      "InstalledAppId": "<string>",
      "LocationId": "<string>",
      "Config": {
        "ContactSensor": [
          {
            "ValueType": "<string>",
            "DeviceConfig": {
              "DeviceId": "<string>",
              "ComponentId": "<string>"
            }
          }
        ],
        "LightSwitch": [
          {
            "ValueType": "<string>",
            "DeviceConfig": {
              "DeviceId": "<string>",
              "ComponentId": "<string>"
            }
          }
        ],
        "Minutes": [
          {
            "ValueType": "<string>",
            "StringConfig": {
              "Value": "<string>"
            }
          }
        ]
      },
      "Permissions": [
        "<string>"
      ]
    },
    "Events": [
      {
        "EventType": "<string>",
        "DeviceEvent": {
          "SubscriptionName": "<string>",
          "EventId": "<string>",
          "LocationId": "<string>",
          "DeviceId": "<string>",
          "ComponentId": "<string>",
          "Capability": "<string>",
          "Attribute": "<string>",
          "Value": "<string>",
          "StateChange": true
        }
      }
    ]
  },
  "OAuthCallbackData": {
    "InstalledAppId": "<string>",
    "UrlPath": "<string>"
  }
}'
This response does not have an example.

Path Parameters

domain
string
required

Body

application/json

Response

200 - application/octet-stream

The response is of type file.