Hello!
I am doing a development and I am trying to get the metric oServiceLevel in the current month, in a certain queue.
The problem I am having is that some metrics are not shown if the time interval is greater than 7 days.
On the other hand I am trying to calculate the value on my own by taking the data that is obtained from the metrics, but I am not able to get it.
Thank you!
Can you provide the query body that has the issue and let me know which resource you're using?
var body = {
"interval": "2017-03-01T00:00:00.000Z/2017-03-30T00:00:00.000Z",
"granularity": "PT24H",
"groupBy": [
"queueID"
],
"metrics": [
"nOffered",
"nTransferred",
"tAbandon",
"tAnswered",
"oServiceLevel",
"oServiceTarget"
],
"filter": {
"type": "and",
"clauses": [
{
"type": "or",
"predicates": [
{
"dimension": "queueId",
"value": "ee84df70-d5c2-46fc-9d09-f0e27525b7fb"
}
]
},
{
"type": "or",
"predicates": [
{
"dimension": "mediaType",
"value": "voice"
}
]
}
]
}
}
I am using Javascript.
What resource are you using? Is it POST /api/v2/analytics/queues/observations/query or something else?
Sorry xD
i am using POST /api/v2/analytics/conversations/aggregates/query
I've tried to reproduce this, but I get data for every PT1D segment for the max interval (3 weeks). Can you be more specific about which metrics are missing and if there's any pattern to it?
Thank you! Solve the problem.
I had problems with the time interval. I was setting the hours 23:59:59 and it was wrong if the time was not accurate at the end of the day.