How to give query value in PureCloudPlatformApiSdk.ConversationQuery()

# create an instance of the API class
api_instance = PureCloudPlatformApiSdk.AnalyticsApi()
body = PureCloudPlatformApiSdk.ConversationQuery() # ConversationQuery | query

try:
# Query for conversation details
api_response = api_instance.post_conversations_details_query(body)
pprint(api_response)

In your code, the variable body is the query. Set properties on that to create the query. See the ConversationQuery class for details on the properties you can use. If you're unsure what query you want to use, you can use the Developer Tools Analytics Query Builder to test queries easily.

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