Andrew_Russell1 | 2023-05-01 03:19:20 UTC | #1
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
apiinstance = PureCloudPlatformClientV2.AnalyticsApi(apiclient)
body = PureCloudPlatformClientV2.ActionAggregationQuery() # ActionAggregationQuery | query
try:
Query for action aggregates
apiresponse = apiinstance.postanalyticsactionsaggregatesquery(body)
pprint(api_response)
except ApiException as e:
pprint("Exception when calling AnalyticsApi->postanalyticsactionsaggregatesquery: %s\n" % e)
Any help would be appreciated
Regards
Andrew
system | 2023-06-02 03:03:56 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 19694