I’m trying to pull detailed conversation metrics using the .NET SDK GetAnalyticsConversationDetailsAsync. The goal is to filter or at least see the wrapUpCode for each interaction. Here is the query body I’m sending:
var query = new ConversationDetailQueryRequest
{
Interval = "2023-10-01T00:00:00Z/2023-10-02T00:00:00Z",
View = "summary",
GroupBy = new List<string> { "wrapUpCode" }
};
The API returns a 200 OK, but every single record in the response has wrapUpCode set to null. I’ve checked the raw JSON, and the field is literally missing or null. The docs for v2.analytics.conversations.detail state that wrapUpCode is a valid grouping dimension.
Is this a known limitation where the detail view doesn’t actually populate this field even if it’s in the groupBy list? Or am I missing a specific filter parameter? I’ve tried adding filters for wrapUpCode existence, but that just returns an empty list.
Running this from an Azure Function in Sao Paulo, so latency isn’t the issue. It’s just empty data. Can someone confirm if this endpoint actually supports returning wrap-up codes in the detail response?