Legacy Dev Forum Posts

 View Only

Sign Up

Dotnet SDK ConversationAggregateQuery results does not match raw API result

  • 1.  Dotnet SDK ConversationAggregateQuery results does not match raw API result

    Posted 06-05-2025 19:24

    Mohankrishna | 2023-08-09 12:03:39 UTC | #1

    Following is the sample query I get 2 different result when executing from developer tools and from dotnet sdk :(

    { "interval": "2023-08-02T09:55:26.000Z/2023-08-09T09:55:26.000Z", "metrics": [ "nConnected" ], "filter": { "clauses": [ { "type": "and", "predicates": [ { "type": "dimension", "dimension": "divisionId", "operator": "matches", "value": "abc" } ] }, { "type": "or", "predicates": [ { "type": "dimension", "dimension": "ani", "operator": "matches", "value": "tel:+123" }, { "type": "dimension", "dimension": "dnis", "operator": "matches", "value": "tel:+123" }, { "type": "dimension", "dimension": "Addressfrom", "operator": "matches", "value": "123" } ] } ], "type": "and" } }


    Declan_ginty | 2023-08-09 12:11:17 UTC | #2

    Hi,

    Would you be able to show the request you are sending? What data is missing from the dotnet SDK?

    Thanks, Declan


    Mohankrishna | 2023-08-18 12:37:29 UTC | #3

    Sorry for the delay @Declan_ginty - Did not get any notification on you update :frowning: I mean the counts were different.

    Is there a time delay for aggregation to happen where the result may differ? (Say i answer a call will the number immediately increment for the nconnected metric ? or will it take time ? if it takes time how long will it take?


    tim.smith | 2023-08-21 14:56:36 UTC | #4

    If you believe the data returned by the API is incorrect, please open a case with Genesys Cloud Care to investigate. We do not have access to your org's data via the forum to investigate these details.


    Mohankrishna | 2023-08-22 04:00:42 UTC | #5

    Thank you @tim.smith - I will raise a case.

    In general any idea how long does aggregation take to reflect the result on API response? (Another issue I saw is - Answered inbound calls from specific ANI to get the nconnected metric for last 7 days. First 2 calls the count incremented but third call and fourth did not reflect on api response :( )


    system | 2023-09-22 04:01:20 UTC | #6

    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: 21414