Hi
I am working with /api/v2/analytics/teams/activity/query and it is returning data based on TeamId predicate. Not able to to get it work ... I used the same date as I received part of result from previous query.
I would like to add additional predicate of presenceDate or routingStatusDate
(Dimension predicates.Valid values: organizationPresenceId, presenceDate, queueId, queueMembershipStatus, routingStatus, routingStatusDate, systemPresence, teamId, userId).
Tried different strings like 2024-07-27 / 2024-07-27T22:56:04.022Z,
Request:
{
"metrics": [
{
"metric": "oTeamPresences",
"details": true
}
],
"groupBy": [
"teamId"
],
"filter": {
"type": "and",
"clauses": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "teamId",
"operator": "matches",
"value": "9c63607a-117c-496d-a9d9-1d6aa45576eb"
},
{
"type": "dimension",
"dimension": "presenceDate",
"operator": "matches",
"value": "2024-07-27T22:56:04.022Z"
}
]
}
],
"predicates": [
{
"type": "dimension",
"dimension": "teamId",
"operator": "matches",
"value": "9c63607a-117c-496d-a9d9-1d6aa45576eb"
}
]
},
"order": "asc"
}
but getting
"message": "For input string: "2024-07-27t22:56:04.022z"",
"code": "bad.request",
"message": "For input string: \"2024-07-27\"",
"code": "bad.request",
Any pointers would be appreciated.