How to increase results per page with python?

Hi,

I set the body element like this:

# create an instance of the API class
api_instance = PureCloudPlatformClientV2.ConversationsApi(apiclient)
body = PureCloudPlatformClientV2.ConversationQuery()

body.interval = '2023-01-03T00:00:00.000+0000'/'2023-01-04T00:00:00.000+0000'
body.pagesize = 100

But the pagesize is still default 25. What's wrong with my code?

Please refer to the Python SDK documentation: https://developer.genesys.cloud/devapps/sdk/docexplorer/purecloudpython/ConversationQuery. The ConversationQuery class has a property named paging. This is also documented in the API resource documentation: POST /api/v2/analytics/conversations/details/query.

I know that their is these function paging. But this function is not working or I have wrong coding?!

pagesize != paging. You need to use the documented properties. Your pagesize property is being ignored because of wrong coding.

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