Query
Query existing profiles
Usage
const params = {
limit: <int>,
offset: <int>,
forceRefresh: <boolean>,
operator: <string>
}
const query = [
{
prop: <string>,
operator: <string>,
value: <string>
}
]
unomi.profile.query(params, query);Response
{
"success": <boolean>,
"status": <int>,
"data": {
"list": [<object>]
}
}Valid Query Operators
allcontainsendsWithequalsexistsgreaterThangreaterThanOrEqualToinisDayisNotDaylessThanlessThanOrEqualTobetweenmathcesRegexmissingnotEqualsnotInstartsWith
Real World Example
Last updated
Was this helpful?