Pulling conversation detail data using the Genesys Cloud JS SDK and the wrapUpCode field is consistently null, even for calls that clearly had a wrap-up code selected in the agent desktop. This happens across multiple date ranges, so it’s not a caching issue. Here’s the query structure:
const query = {
view: 'conversation-detail',
dateFrom: '2023-10-01T00:00:00.000Z',
dateTo: '2023-10-02T00:00:00.000Z',
filters: [
{
type: 'field',
field: 'mediaType',
op: 'equals',
value: 'voice'
}
],
groupBy: [],
size: 100
};
The response returns the expected records, but the wrapUpCode property is missing or null. I’ve verified the view name is correct and the date range is valid. Is this a known limitation of the analytics detail view, or is there a specific filter or grouping required to expose the wrap-up code? The documentation isn’t clear on whether this field is available in the conversation-detail view.