Hi, I hava a question about the fields of the data(stats) I got from the Developper Tools and my java application. Can you give me some advices,thank you !
■the question
Using the same conditions ,when I excecuted the query under below through Developper Tools and my java application ,the fields of stats array I got from each was different. Do you know how this difference came out and how can I get the same data from my application as Developper Tools does?
・ /api/v2/analytics/conversations/aggregates/query
■the response data from Developper Tools
"metrics": [
{
"metric": "nOutbound",
"stats": {
"count": 1
}
},
{
"metric": "tAcw",
"stats": {
"max": 4000,
"min": 4000,
"count": 1,
"sum": 4000
}
},
■the response data from my appication
"metrics" : [ {
"metric" : "nOutbound",
"qualifier" : null,
"stats" : {
"max" : null,
"min" : null,
"count" : 1,
"countNegative" : null,
"countPositive" : null,
"sum" : null,
"current" : null,
"ratio" : null,
"numerator" : null,
"denominator" : null,
"target" : null
}
}, {
"metric" : "tAcw",
"qualifier" : null,
"stats" : {
"max" : 4000,
"min" : 4000,
"count" : 1,
"countNegative" : null,
"countPositive" : null,
"sum" : 4000,
"current" : null,
"ratio" : null,
"numerator" : null,
"denominator" : null,
"target" : null
}
},
■the conditions of the query
・"interval": "2022-10-05T00:00:00.000Z/2022-10-12T12:00:00.000Z"
・"granularity": "PT30M"
・"groupBy": ["queueId"]
・"metrics": ["nOutbound","tAcw"]
Thank you !