Extract Evaluations data from Analytics Conversations API

Team,

I am trying to extract evaluations data from api/v2/analytics/conversations/details/query
using PureCloudPlatformClientV2.EvaluationDetailQueryFilter().
Output contains only the conversations which have an evaluationId, but I want to get all conversations whether or not they have an evaluationId associated with it.

Can you please assist?

Filters to get Evaluation data

evaluationFilter = PureCloudPlatformClientV2.EvaluationDetailQueryFilter()
evaluationFilter.type = "or"
evaluationFilterPredicate = PureCloudPlatformClientV2.EvaluationDetailQueryPredicate()
evaluationFilterPredicate.type = "dimension"
evaluationFilterPredicate.dimension = "evaluationId"
evaluationFilterPredicate.operator = "exists"
evaluationFilter.predicates = []

evaluationFilter.predicates.append(evaluationFilterPredicate)
body.evaluation_filters = []
body.evaluation_filters.append(evaluationFilter)

Hi @Sathishkumar_J
If I understand correctly, you want the query to only return the evaluation data of the conversations and exclude the other properties. That's different than the purpose of the query filters. They return all the data for the conversations that satisfy the filters.

Hi Jacob, Thanks for your reply. I am trying to get both conversations with evaluation data and conversations without evaluation data as well. Using the filter I am getting conversations which have evaluations, just trying to find is there an alternate way to get the data within single API call.

Or is there an API where I can get list of evaluations which happened for any given day.

Please assist.

Thanks,
Sathish

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.