Running a query against GET /api/v2/analytics/details for voice interactions. The endpoint returns 200 OK and the payload structure looks correct, but the wrapUpCode field is consistently null even when agents clearly selected a disposition code in the wrap-up screen.
I’ve verified the time range covers the specific interactions. I’ve also checked the raw interaction data in the Genesys Cloud UI, and the wrap-up code is definitely saved there. So it’s not a data entry issue.
Here is the query body I’m using:
{
"groupBy": [],
"interval": "2023-10-01T00:00:00.000Z/2023-10-02T00:00:00.000Z",
"metrics": ["wrapUpCode"],
"entityId": "queue-id-123"
}
I tried adding wrapUpCode to the groupBy array as well, just to see if that forces it to resolve. Same result. The wrapUpCode field remains null in the response array.
Is this a known limitation of the detail query endpoint? Or am I missing a specific parameter to force the code to resolve? I’ve checked the docs for analytics/details but nothing mentions this behavior explicitly.