Dontel_Boulware | 2022-05-01 07:14:52 UTC | #1
API that can return attribute information for a set of conversations from a particular date?
jacobshaw | 2022-05-02 18:49:36 UTC | #2
Hi @Dontel_Boulware The API resource POST /api/v2/analytics/conversations/details/query accepts a date range and conversation filters in the request body that will allow you to filter for multiple conversation IDs. You can test this with the Analytics query builder. Here's an example req body
{
"interval": "2022-04-27T04:00:00.000Z/2022-05-03T04:00:00.000Z",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageSize": 25,
"pageNumber": 1
},
"conversationFilters": [
{
"type": "or",
"predicates": [
{
"type": "dimension",
"dimension": "conversationId",
"operator": "matches",
"value": "<conversation-id-1>"
},
{
"type": "dimension",
"dimension": "conversationId",
"operator": "matches",
"value": "<conversation-id-2>"
}
]
}
]
}
Dontel_Boulware | 2022-05-02 20:45:26 UTC | #3
What is needed in the query inputs to get it to provide those details in the output?
jacobshaw | 2022-05-03 20:08:26 UTC | #4
@Dontel_Boulware I was initially unclear on what you meant by "attribute information", but I think I'm better equipped to answer now. The analytics jobs provide participant attribute info for conversations, but the analytics queries do not. The job queries let you define an interval as well. This older thread covers this as well: https://developer.genesys.cloud/forum/t/conversation-details-with-attributes/8662
Dontel_Boulware | 2022-05-09 13:40:45 UTC | #5
jacobshaw, post:4, topic:14533
The analytics jobs provide participant attribute info for conversations, but the analytics queries do not. The job queries let you define an interval as well.
Apologies for the late response. I will take a look at this thank you.
system | 2022-06-09 13:41:27 UTC | #6
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: 14533