Question About Filters

I wondering what the correct Syntax for filters?

Simplified Code

PureCloudPlatformApiSdk.configuration.access_token = responseJson['access_token']
PureCloudPlatformApiSdk.configuration.host = 'https://api.mypurecloud.ie'

api_instance = PureCloudPlatformApiSdk.AnalyticsApi()
body = PureCloudPlatformApiSdk.AggregationQuery()

body.interval = pcdate
body.group_by = ['queueid']
body.filter. =

I get this far, but can not figure out the syntax for the filter.

Thank you for the help.

Hi flip,

If you're using the Python SDK, this is a shortcut that might help:

It assumes that query_json contains a parsed json object representing a valid query (see the Analytics Query Builder to build samples).

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.