Legacy Dev Forum Posts

 View Only

Sign Up

How to give query value in PureCloudPlatformApiSdk.ConversationQuery()

  • 1.  How to give query value in PureCloudPlatformApiSdk.ConversationQuery()

    Posted 06-05-2025 18:08

    remigiousmikevin | 2019-08-07 22:28:42 UTC | #1

     create an instance of the API class

    api_instance = PureCloudPlatformApiSdk.AnalyticsApi() body = PureCloudPlatformApiSdk.ConversationQuery() # ConversationQuery | query

    try:     # Query for conversation details     apiresponse = apiinstance.postconversationsdetailsquery(body)     pprint(apiresponse)


    tim.smith | 2019-08-07 22:57:25 UTC | #2

    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.


    system | 2019-09-07 22:54:50 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: 5728