post
https://cmqtt-web-dev.aylanetworks.com/mqtteventprocessor/api/v1/filters.json
This API creates a new filter and adds this new filter to the Ayla mDSSV2 filter list.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
The follow table provides the body parameter list:
| Parameter name | Datatype | Mandatory/Optional | Description |
|---|---|---|---|
| name | String | Optional | User-assigned subscription name. |
| oem_id | String | Optional | Unique customer identifier for Ayla cloud services. If this parameter is not passed, it will be fetched using your auth_token. |
| user_uuid | String | Optional | End-user’s unique user ID. |
| description | String | Optional | User friendly description of the Filter. |
| is_active | Boolean | Optional | Indicate whether the current filter is active or not. Default = True |
| client_type | String | Mandatory | Possible values: Mobile, Cloud, or Voice |
| filter_conditions | Object | ||
| event_type | Optional | Possible event type values:
| |
| model | String Array | Optional | Model associated with device. To represent all models, use empty array "[]". |
| dsn | String Array | Conditional If oem_model is not passed, then it is Mandatory. | (Device Serial Number) Unique device identifier in Ayla cloud services. To represent all DSNs, use empty array "[]". If you choose to add specific devices, you can add upto maximum of 20 devices. |
| property_names | String Array | Conditional
| Name of the property associated with the device.
|
| oem_model | String Array | Conditional
| Unique product model name. To represent all OEM models, use empty array "[]". |
400Bad Request
401Unauthorized
403Forbidden
422Unprocessable Entity

