Reporting on Data Actions using an API

Hi There

I would like to either be able to download the built in Data Action reports as csv files using an API or create my own Data Action reporting using an API

I am using Python and unsure what to put in the for the value\values of body in this script

create an instance of the API class

api_instance = PureCloudPlatformClientV2.AnalyticsApi(api_client)

body = PureCloudPlatformClientV2.ActionAggregationQuery() # ActionAggregationQuery | query

try:

# Query for action aggregates

api_response = api_instance.post_analytics_actions_aggregates_query(body)

pprint(api_response)

except ApiException as e:

pprint("Exception when calling AnalyticsApi->post_analytics_actions_aggregates_query: %s\n" % e)

Any help would be appreciated

Regards

Andrew

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