createSiteAssetFilters
POST https://{{host}}/api/v1/sites/:site_id/assetfilters
Create Asset Filter
Creates a single BLE asset filter for the given site. Any subset of filter properties can be included in the filter. A matching asset must meet the conditions of all given filter properties (logical ‘AND’).
Parameters
Name | Type | Description |
---|---|---|
name | string | asset filter name |
disabled | boolean | optional; whether the asset filter is disabled, default is false |
ibeacon_uuid | string | optional; ibeacon uuid used to filter assets |
ibeacon_major | int | optional; ibeacon major value used to filter assets |
eddystone_uid_namespace | string | optional; eddystone uid namespace used to filter assets |
eddystone_url | string | optional; eddystone url used to filter assets |
mfg_company_id | int | optional; ble manufacturing-specific company-id used to filter assets |
service_uuid | string | optional; ble service data uuid used to filter assets |
Request Body
{"name"=>"Visitor Tags", "ibeacon_uuid"=>"f3f17139-704a-f03a-2786-0400279e37c3", "ibeacon_major"=>13, "eddystone_uid_namespace"=>"2818e3868dec25629ede", "eddystone_url"=>"https://www.abc.com", "mfg_company_id"=>935, "service_uuid"=>"0000fe6a-0000-1000-8000-0030459b3cfb"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
X-CSRFToken | string | ||
Content-Type | string |