Hello,
I'm trying to filter the Analytics API /api/v2/analytics/conversations/activity/query by multiple skill ids.
I tried with multiple predicates but I receive error "Attempting to set multiple values for dimension: requestedRoutingSkillId", or by using one predicates with multiple skill ids which returns another error "invalid dimension value".
{
"filter": {
"type": "or",
"clauses": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "queueId",
"operator": "matches",
"value": "0ad14cf6-ca6c-4bc3-ad6c-26f7e21dxxxx"
},
{
"type": "dimension",
"dimension": "requestedRoutingSkillId",
"operator": "matches",
"value": "dc200bac-0212-45e5-add9-a118d580yyyy"
},
{
"type": "dimension",
"dimension": "requestedRoutingSkillId",
"operator": "matches",
"value": "309ae7d2-1420-464a-af28-bbd2f816zzzz"
}
]
}
]
},
"order": "asc",
"metrics": [
{
"metric": "oWaiting",
"details": true
}
],
"groupBy": [
"queueId"
]
}
{
"filter": {
"type": "or",
"clauses": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "queueId",
"operator": "matches",
"value": "0ad14cf6-ca6c-4bc3-ad6c-26f7e21dxxxx"
},
{
"type": "dimension",
"dimension": "requestedRoutingSkillId",
"operator": "matches",
"value": "dc200bac-0212-45e5-add9-a118d580yyyy, 309ae7d2-1420-464a-af28-bbd2f816zzzz"
}
]
}
]
},
"order": "asc",
"metrics": [
{
"metric": "oWaiting",
"details": true
}
],
"groupBy": [
"queueId"
]
}
Am I doing something wrong or this is a limitation and I need to extract the detailed result and process it in another place?
Thank you,
Stefan