Legacy Dev Forum Posts

 View Only

Sign Up

PageSize and Page number for ConversationQuery

  • 1.  PageSize and Page number for ConversationQuery

    Posted 06-05-2025 18:04

    sajidali | 2016-11-10 12:04:24 UTC | #1

    Hi, I am using .Net SDK to execute PostConversationsDetailsQuery. I am using paging for my ConvesationQuery, how i can get the total page numbers for a given interval? For example in my case:

    ConversationQuery query = new ConversationQuery(); query.Interval = "2016-11-03T00:00:00/2016-11-03T23:59:59";//Full day query.Paging=new PagingSpec(100,1); AnalyticsConversationQueryResponse result = api.PostConversationsDetailsQuery(query);

    I need to iterate the request by increasing the page number, how can i check the response for pagenumber?


    tim.smith | 2016-11-10 14:21:09 UTC | #2

    Due to the way analytics data is stored and accessed, it is intentional that no page count is given; the analytics service doesn't know how many pages there are until the last page has been retrieved and there is no more data for the query. To retrieve "all" data, continue paging requests until there is no more data.


    sajidali | 2016-11-10 14:54:24 UTC | #3

    Thank you that was exactly what i needed,


    system | 2017-08-28 19:28:38 UTC | #4


    This post was migrated from the old Developer Forum.

    ref: 610