Updates the specified filter.
Parameter name | Datatype | Mandatory/Optional | Description |
---|---|---|---|
name | String | Optional | User-assigned subscription name. |
description | String | Optional | User friendly description of the Filter. |
is_active | Boolean | Optional | Indicate whether the current filter is active or not. |
filter_conditions | Object | ||
filter_conditions.uuid | String | Mandatory | UUID of the filter_conditions. |
filter_conditions.event_type | Optional | Possible event type values:
To subscribe to all event_types, use empty array "[]". | |
filter_conditions.model | String Array | Optional | Model associated with device. |
filter_conditions.dsn | String Array | Optional | (Device Serial Number) Unique device identifier in Ayla cloud services. |
filter_conditions.property_names | String Array | Conditional
| Name of the property associated with the device.
|
filter_conditions.oem_model | String Array | Optional | Unique product model name. |