...
getHistoricalData (resolution: "hourly",
aggregateType: "count",
attributes: {val: ["callsAbandoned","callsReceived","callsAnswered"]},
comparison: "true",
filterAttributes: {val:["queue","skillGroup"]},
filterValues: {val: [[1, 2, 3], [4, 5, 6]],chartType:"Bar Chart"})
{
name
series
}
Result:
[
{
"name": "Mon",
"series": [
{
"name": "Recived",
"value": 490
},
{
"name": "Answered",
"value": 480
},
{
"name": "Abandoned",
"value": 10
}
]
},
{
"name": "Tue",
"series": [
{
"name": "Recived",
"value": 699
},
{
"name": "Answered",
"value": 684
},
{
"name": "Abandoned",
"value": 15
}
]
},
{
"name": "Wed",
"series": [
{
"name": "Recived",
"value": 632
},
{
"name": "Answered",
"value": 625
},
{
"name": "Abandoned",
"value": 7
}
]
},
{
"name": "Thu",
"series": [
{
"name": "Recived",
"value": 867
},
{
"name": "Answered",
"value": 871
},
{
"name": "Abandoned",
"value": 16
}
]
},
{
"name": "Fri",
"series": [
{
"name": "Recived",
"value": 830
},
{
"name": "Answered",
"value": 810
},
{
"name": "Abandoned",
"value": 20
}
]
},
{
"name": "Sat",
"series": [
{
"name": "Recived",
"value": 706
},
{
"name": "Answered",
"value": 699
},
{
"name": "Abandoned",
"value": 7
}
]
}, {
"name": "Sun",
"series": [
{
"name": "Recived",
"value": 846
},
{
"name": "Answered",
"value": 802
},
{
"name": "Abandoned",
"value": 44
}
]
}
]