dimension_indexes:[1], // add column index 1 (postal code in example) in the stats file
column_filter:[ // filter on column value
column_index:1, // index 1, postal code in example
values:["54","67","57","68"], // postal code must start with this values
operator:"PREFIX" // indicate type of filter: EQUAL,PREFIX etc, see reference
not:false // if true reverse the condition (here, must not start with selected values)
segment: [{id:456}, {id:789}], // count for hash in segment 456 or 789
fetch("https://gateway.sirdata.io/api/v1/public/customer/storage/"+storageId+"/filter?=", {
"Content-Type": "application/json",
"x-api-token": "XXXXX-XXXXX-XXXXX-XXXXX",
"body": JSON.stringify(filter)