Ragavi_Kanagalingam | 2020-10-22 12:13:03 UTC | #1
Hello All,
We have implemented Query for conversation aggregates (/api/v2/analytics/conversations/aggregates/query) API in a code to pull all conversation IDs in a given interval. It used to work with below request.
Request Body: { "interval": "2020-10-21T00:00:00/2020-10-21T23:00:00", "timeZone": "America/Chicago", "groupBy": ["conversationId"] }
But since last two weeks we haven't received any Conversation IDs. When we checked, the code was throwing error that Metrics are required. Now it is working with below parameters.
Request Body: { "interval": "2020-10-21T00:00:00/2020-10-21T23:00:00", "timeZone": "America/Chicago", "groupBy": ["conversationId"], "metrics": ["tIvr"] }
In API explorer, metrics field is still shown as optional. Could someone help us whether any update has been pushed for this API? Also where to look for this change update?
Thanks
Jerome.Saint-Marc | 2020-10-22 16:05:54 UTC | #2
Hello,
Yes, there was a change pushed recently in the API so that Aggregate and observation metric queries require specifying metrics in the request. Specifying "metrics" was not mandatory before.
I have found a related Announcement on the Dev Forum, posted in June.
The various ways to get notified of changes are described here.
Regards,
system | 2020-11-22 16:08:38 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 9147