getSiteAssetFilters
GET https://{{host}}/api/v1/sites/:site_id/assetfilters
Get the list of all BLE asset filters for the given site. Each asset filter in the list operates independently. For a filter object to match an asset, all of the filter properties must match (logical ‘AND’ of each filter property). For example, the “Visitor Tags” filter below will match an asset when both the “ibeaconuuid” and “ibeaconmajor” properties match the asset. All non-matching assets are ignored.
Response 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 |
RESPONSES
status: OK
[{"name":"Visitor Tags","ibeacon_uuid":"f3f17139-704a-f03a-2786-0400279e37c3","ibeacon_major":13},{"name":"Company Tags","eddystone_uid_namespace":"2818e3868dec25629ede","eddystone_url":"https://www.abc.com","mfg_company_id":935,"service_uuid":"0000fe6a-0000-1000-8000-0030459b3cfb"}]