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

NameTypeDescription
namestringasset filter name
disabledbooleanoptional; whether the asset filter is disabled, default is false
ibeacon_uuidstringoptional; ibeacon uuid used to filter assets
ibeacon_majorintoptional; ibeacon major value used to filter assets
eddystone_uid_namespacestringoptional; eddystone uid namespace used to filter assets
eddystone_urlstringoptional; eddystone url used to filter assets
mfg_company_idintoptional; ble manufacturing-specific company-id used to filter assets
service_uuidstringoptional; 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

KeyDatatypeRequiredDescription
Acceptstring
X-CSRFTokenstring
Content-Typestring