DO NOT use the format provided in the coding playground output.
Fields in this query param must be transformed according to the rules explained below.
For example, in order to fetch the information for past 7 days:
- Form your object first
{
"operator": "@in_past_days",
"value": 7
}
- Then encode it to sanitized URL (see the code example written in JS below)
encodeURIComponent(JSON.stringify({"operator": "@in_past_days", "value": 7}))
- The final query param structure should be looked like
transactionDate=%7B%22operator%22%3A%22%40in_past_days%22%2C%22value%22%3A7%7D